Update database for mappers 162-164/558

This commit is contained in:
NewRisingSun
2021-05-30 10:05:10 +02:00
parent 97ffbc5f83
commit d4c0d6e852
5 changed files with 257 additions and 11 deletions

View File

@@ -103,8 +103,7 @@ static void reset()
void Mapper164_Init (CartInfo *info)
{
uint32 WRAMSIZE = info->iNES2? (info->PRGRamSize + info->PRGRamSaveSize): 8192;
WRAMSIZE &=~0x7FF; /* Do not include EEPROM in the WRAM size */
uint32 WRAMSIZE = info->iNES2? (info->PRGRamSize + (info->PRGRamSaveSize &~0x7FF)): 8192;
info->Power = power;
info->Reset = reset;
AddExState(StateRegs, ~0, 0, 0);