From 254c8242923020e89dedfd91e9384b197b28cdb5 Mon Sep 17 00:00:00 2001 From: sakman55 Date: Sat, 27 Apr 2024 18:33:27 -1000 Subject: [PATCH] Update 7800.ino Update checkStatus_7800() to account for the added Bankset mapper (#7). --- Cart_Reader/7800.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cart_Reader/7800.ino b/Cart_Reader/7800.ino index d2b454b..383eb5f 100644 --- a/Cart_Reader/7800.ino +++ b/Cart_Reader/7800.ino @@ -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 \ No newline at end of file +#endif