mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-30 00:14:15 +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() {
|
||||
EEPROM_readAnything(7, a7800mapper);
|
||||
EEPROM_readAnything(8, a7800size);
|
||||
if (a7800mapper > 6) {
|
||||
if (a7800mapper > 7) {
|
||||
a7800mapper = 0; // default
|
||||
EEPROM_writeAnything(7, a7800mapper);
|
||||
}
|
||||
@ -862,4 +862,4 @@ void setCart_7800() {
|
||||
print_FatalError(F("Database file not found"));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user