Merge pull request #461 from negativeExponent/bus_conflict

Only enable bus conflict for submapper 2 (mapper 2, mapper 3)
This commit is contained in:
mjbudd77 2022-02-11 07:06:18 -05:00 committed by GitHub
commit 442f4e8934
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ static void UNROMSync(void) {
} }
void UNROM_Init(CartInfo *info) { void UNROM_Init(CartInfo *info) {
Latch_Init(info, UNROMSync, 0, 0x8000, 0xFFFF, 0, 1); Latch_Init(info, UNROMSync, 0, 0x8000, 0xFFFF, 0, info->ines2 && info->submapper == 2);
} }
//------------------ Map 3 --------------------------- //------------------ Map 3 ---------------------------
@ -192,7 +192,7 @@ static void CNROMSync(void) {
} }
void CNROM_Init(CartInfo *info) { void CNROM_Init(CartInfo *info) {
Latch_Init(info, CNROMSync, 0, 0x8000, 0xFFFF, 1, 1); Latch_Init(info, CNROMSync, 0, 0x8000, 0xFFFF, 1, info->ines2 && info->submapper == 2);
} }
//------------------ Map 7 --------------------------- //------------------ Map 7 ---------------------------