mirror of
https://github.com/sanni/cartreader.git
synced 2025-01-27 12:15:27 +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);
|
banks = int_pow(2, prgsize);
|
||||||
for (size_t i = 0; i < banks; i++) { // 128K
|
for (size_t i = 0; i < banks; i++) { // 128K
|
||||||
write_prg_byte(0x8000, i);
|
write_prg_byte(0x8000, i);
|
||||||
dumpBankPRG(0x2000, 0x4000, base); // 16K Banks ($8000-$BFFF)
|
dumpBankPRG(0x0, 0x4000, base); // 16K Banks ($8000-$BFFF)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user