MMC1 - Fixed default work/save ram mapping (broken with MMC5 support fix)

This commit is contained in:
Souryo 2015-08-09 19:20:49 -04:00
parent 3b0ab71e92
commit 19150e3193

View file

@ -155,6 +155,8 @@ class MMC1 : public BaseMapper
_state.RegC000 = 0x00;
_state.RegE000 = 0x10; //WRAM Disable: assume it's enabled at startup
SetCpuMemoryMapping(0x6000, 0x7FFF, 0, HasBattery() ? PrgMemoryType::SaveRam : PrgMemoryType::WorkRam);
UpdateState();
}