Mapper 498: Add 1MiB+1MiB variant.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user