Fix Twin Dragons support
This commit is contained in:
parent
86326e8329
commit
91185e1a43
1 changed files with 2 additions and 2 deletions
|
@ -48,9 +48,9 @@ protected:
|
||||||
SetPpuMemoryMapping(0x2000, 0x3FFF, ChrMemoryType::ChrRam, 0x6000, MemoryAccessType::ReadWrite);
|
SetPpuMemoryMapping(0x2000, 0x3FFF, ChrMemoryType::ChrRam, 0x6000, MemoryAccessType::ReadWrite);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_orgPrgRom = vector<uint8_t>(_prgRom, _prgRom + _prgSize);
|
||||||
if(HasBattery()) {
|
if(HasBattery()) {
|
||||||
AddRegisterRange(0x8000, 0xFFFF, MemoryOperation::Read);
|
AddRegisterRange(0x8000, 0xFFFF, MemoryOperation::Read);
|
||||||
_orgPrgRom = vector<uint8_t>(_prgRom, _prgRom + _prgSize);
|
|
||||||
ApplySaveData();
|
ApplySaveData();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue