Add mappers 589 and 591.

This commit is contained in:
NewRisingSun
2025-09-08 23:32:43 +02:00
parent 2c0c3c1876
commit 4d48988cf4
6 changed files with 88 additions and 12 deletions

View File

@@ -22,12 +22,6 @@
static uint8 reg[2];
static SFORMAT stateRegs[] = {
{ &reg, 2, "REGS" },
{ 0 }
};
static void sync () {
setprg8(0x6000, reg[1] &0x07 |0x08);
setprg32(0x8000, reg[0] >>4 &0x07);
@@ -55,5 +49,5 @@ void Mapper588_Init (CartInfo *info) {
info->Reset = power;
info->Power = power;
GameStateRestore = stateRestore;
AddExState(stateRegs, ~0, 0, 0);
AddExState(reg, 2, 0, "REGS");
}