BaseMapper - Default 0x6000-0x7FFF to save or work ram
This commit is contained in:
parent
19150e3193
commit
b253f334bc
1 changed files with 3 additions and 0 deletions
|
@ -302,6 +302,9 @@ class BaseMapper : public IMemoryHandler, public Snapshotable, public INotificat
|
||||||
_chrSize = 0x2000;
|
_chrSize = 0x2000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Setup a default work/save ram in 0x6000-0x7FFF space
|
||||||
|
SetCpuMemoryMapping(0x6000, 0x7FFF, 0, HasBattery() ? PrgMemoryType::SaveRam : PrgMemoryType::WorkRam);
|
||||||
|
|
||||||
InitMapper();
|
InitMapper();
|
||||||
|
|
||||||
MessageManager::RegisterNotificationListener(this);
|
MessageManager::RegisterNotificationListener(this);
|
||||||
|
|
Loading…
Add table
Reference in a new issue