mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-29 06:21:55 +01:00
Merge pull request #1043 from sanni/nsx0r-patch-1
update NES.txt and fix mapper 58
This commit is contained in:
commit
a4750c1fcb
@ -2172,8 +2172,8 @@ void readPRG(bool readrom) {
|
|||||||
|
|
||||||
case 58:
|
case 58:
|
||||||
case 213:
|
case 213:
|
||||||
banks = int_pow(2, prgsize) / 2;
|
banks = int_pow(2, prgsize);
|
||||||
for (size_t i = 0; i < banks; i++) {
|
for (size_t i = 0; i < banks; i += 2) {
|
||||||
write_prg_byte(0x8000 + (i & 0x07), 0x00);
|
write_prg_byte(0x8000 + (i & 0x07), 0x00);
|
||||||
dumpBankPRG(0x0, 0x8000, base);
|
dumpBankPRG(0x0, 0x8000, base);
|
||||||
}
|
}
|
||||||
|
15351
sd/nes.txt
15351
sd/nes.txt
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user