MMC5: Small bug fix (used wrong register numbers)
This commit is contained in:
parent
0f5c7fe78b
commit
7b94a59b86
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ private:
|
|||
{
|
||||
bankNumber = _prgBanks[reg-0x5113];
|
||||
memoryType = PrgMemoryType::PrgRom;
|
||||
if((((bankNumber & 0x80) == 0x00) && reg != 0x04) || reg == 0x00) {
|
||||
if((((bankNumber & 0x80) == 0x00) && reg != 0x5117) || reg == 0x5113) {
|
||||
bankNumber &= 0x07;
|
||||
memoryType = PrgMemoryType::SaveRam;
|
||||
accessType = MemoryAccessType::Read;
|
||||
|
|
Loading…
Add table
Reference in a new issue