fix bug in mapper 164 savestates which caused wram to be lost

This commit is contained in:
zeromus 2012-04-17 00:08:50 +00:00
parent 1e2d18b747
commit 9fc31b558f
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,7 @@ void Mapper164_Init(CartInfo *info)
info->Power=Power; info->Power=Power;
GameStateRestore=StateRestore; GameStateRestore=StateRestore;
AddExState(&StateRegs, ~0, 0, 0); AddExState(&StateRegs, ~0, 0, 0);
AddExState(WRAM, 8192, 0, "WRAM");
} }
void Mapper163_Init(CartInfo *info) void Mapper163_Init(CartInfo *info)