Mapper 498: Add 1MiB+1MiB variant.

This commit is contained in:
NewRisingSun
2025-09-29 23:09:42 +02:00
parent 0e365ada5e
commit 76f40218d0

View File

@@ -27,15 +27,15 @@ static uint8 reg;
static void sync () {
if (reg &0x20)
MMC1_syncPRG(0x07, reg &~0x07);
MMC1_syncPRG(0x07, reg >>1 &0x20 | reg &0x18);
else
if (reg &0x04)
if (reg &0x05)
setprg32(0x8000, reg >>1);
else {
setprg16(0x8000, reg);
setprg16(0xC000, reg);
}
MMC1_syncCHR(0x1F, reg <<2 &~0x1F);
MMC1_syncCHR(0x1F, reg <<1 &0x80 | reg <<2 &0x60);
MMC1_syncMirror();
}