mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-30 08:24:14 +01:00
Update 7800.ino
Update checkStatus_7800() to account for the added Bankset mapper (#7).
This commit is contained in:
parent
9f51bb1af7
commit
254c824292
@ -613,7 +613,7 @@ setrom:
|
|||||||
void checkStatus_7800() {
|
void checkStatus_7800() {
|
||||||
EEPROM_readAnything(7, a7800mapper);
|
EEPROM_readAnything(7, a7800mapper);
|
||||||
EEPROM_readAnything(8, a7800size);
|
EEPROM_readAnything(8, a7800size);
|
||||||
if (a7800mapper > 6) {
|
if (a7800mapper > 7) {
|
||||||
a7800mapper = 0; // default
|
a7800mapper = 0; // default
|
||||||
EEPROM_writeAnything(7, a7800mapper);
|
EEPROM_writeAnything(7, a7800mapper);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user