BaseMapper - Default 0x6000-0x7FFF to save or work ram

This commit is contained in:
Souryo 2015-08-09 19:27:57 -04:00
parent 19150e3193
commit b253f334bc

View file

@ -302,6 +302,9 @@ class BaseMapper : public IMemoryHandler, public Snapshotable, public INotificat
_chrSize = 0x2000;
}
//Setup a default work/save ram in 0x6000-0x7FFF space
SetCpuMemoryMapping(0x6000, 0x7FFF, 0, HasBattery() ? PrgMemoryType::SaveRam : PrgMemoryType::WorkRam);
InitMapper();
MessageManager::RegisterNotificationListener(this);