From 0291a4ee9347ffdeb8ed6b9fdaa3276d317d44e4 Mon Sep 17 00:00:00 2001 From: Fabio Cavallo Date: Wed, 7 Feb 2024 16:31:02 +0100 Subject: [PATCH] Disabled auto insert via $4032 for the FDS version of "Vs. Excitebike". --- src/core/fds.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/core/fds.c b/src/core/fds.c index ead095e00..d371e2de1 100644 --- a/src/core/fds.c +++ b/src/core/fds.c @@ -1031,6 +1031,8 @@ void fds_control_autoinsert(_fds_sinfo *sinfo) { { "IGO", { 0x1E8B0151, 0xF7130E20, 0x00, 0x00 }, FALSE, TRUE, FALSE }, // Time Twist - Rekishi no Katasumi de (1991)(Nintendo)(J) { "TT1", { 0x6D6014C1, 0x145A90B2, 0xBFB019B9, 0x636083C1 }, FALSE, TRUE, FALSE }, + // Vs. Excitebike + { "EBD", { 0x00, 0x00, 0x00, 0x00 }, FALSE, TRUE, FALSE }, }; fds.auto_insert.r4032.disabled = FALSE; @@ -1066,7 +1068,8 @@ void fds_control_autoinsert(_fds_sinfo *sinfo) { _fds_control_autoinsert *fca = &images[i]; if (!strncmp((char *)&sinfo->block1.name[0], &fca->name[0], 3) && - ((fca->crc32prg[0] && (fca->crc32prg[0] == sinfo->crc32prg)) || + ((!fca->crc32prg[0] && !fca->crc32prg[1] && !fca->crc32prg[2] && !fca->crc32prg[3]) || + (fca->crc32prg[0] && (fca->crc32prg[0] == sinfo->crc32prg)) || (fca->crc32prg[1] && (fca->crc32prg[1] == sinfo->crc32prg)) || (fca->crc32prg[2] && (fca->crc32prg[2] == sinfo->crc32prg)) || (fca->crc32prg[3] && (fca->crc32prg[3] == sinfo->crc32prg)))) {