Merge pull request #174 from retro-wertz/unrom

Mapper2: Change default behavior
This commit is contained in:
hizzlekizzle
2017-10-20 16:19:27 -05:00
committed by GitHub

View File

@@ -134,13 +134,14 @@ static void UNROMSync(void) {
setmirror(((latche >> 3) & 1) ^ 1); /* Higway Star Hacked mapper to be redefined to another mapper */
} else
#endif
setprg8r(0x10, 0x6000, 0);
setprg16(0x8000, latche);
setprg16(0xc000, ~0);
setchr8(0);
}
void UNROM_Init(CartInfo *info) {
Latch_Init(info, UNROMSync, 0, 0x8000, 0xFFFF, 0, 1);
Latch_Init(info, UNROMSync, 0, 0x8000, 0xFFFF, 1, 0);
}
/*------------------ Map 3 ---------------------------*/