Merge pull request #543 from nsx0r/patch-10

fixed mapper 30
This commit is contained in:
sanni 2022-10-02 17:37:16 +02:00 committed by GitHub
commit a9bf2b0cee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3039,9 +3039,9 @@ void readPRG(boolean readrom) {
banks = int_pow(2, prgsize); banks = int_pow(2, prgsize);
for (int i = 0; i < banks; i++) { // 256K/512K for (int i = 0; i < banks; i++) { // 256K/512K
if (flashfound) if (flashfound)
write_prg_byte(0xC000, i); // Flashable write_prg_byte(0xC000+i, i); // Flashable
else else
write_prg_byte(0x8000, i); // Non-Flashable write_prg_byte(0x8000+i, i); // Non-Flashable
for (word address = 0x0; address < 0x4000; address += 512) { // 16K Banks ($8000-$BFFF) for (word address = 0x0; address < 0x4000; address += 512) { // 16K Banks ($8000-$BFFF)
dumpPRG(base, address); dumpPRG(base, address);
} }