mirror of
https://github.com/sanni/cartreader.git
synced 2025-01-25 19:31:12 +01:00
Merge pull request #1062 from p0ojisan/nes-prg-address-offset-fix
Fix NES PRG address for mapper 24/26/78
This commit is contained in:
commit
de9e6b7d4b
@ -2095,7 +2095,7 @@ void readPRG(bool readrom) {
|
||||
banks = int_pow(2, prgsize);
|
||||
for (size_t i = 0; i < banks; i++) { // 128K
|
||||
write_prg_byte(0x8000, i);
|
||||
dumpBankPRG(0x2000, 0x4000, base); // 16K Banks ($8000-$BFFF)
|
||||
dumpBankPRG(0x0, 0x4000, base); // 16K Banks ($8000-$BFFF)
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user