aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cart_Reader/FLASH.ino
diff options
context:
space:
mode:
authorsanni <[email protected]>2024-08-16 19:54:57 +0200
committersanni <[email protected]>2024-08-16 19:54:57 +0200
commit0d602720c24353ecf314ffcc801a7d8c601109f2 (patch)
tree796571fe4d7533334b6db61567f3f777d703a0c7 /Cart_Reader/FLASH.ino
parentac6e606f0d829dc2a967ab494d712b6612d6dfa1 (diff)
downloadcartreader-0d602720c24353ecf314ffcc801a7d8c601109f2.tar.gz
cartreader-0d602720c24353ecf314ffcc801a7d8c601109f2.zip
Remove more co-dependencies
Diffstat (limited to 'Cart_Reader/FLASH.ino')
-rw-r--r--Cart_Reader/FLASH.ino4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cart_Reader/FLASH.ino b/Cart_Reader/FLASH.ino
index 8328fbb..e2d5e64 100644
--- a/Cart_Reader/FLASH.ino
+++ b/Cart_Reader/FLASH.ino
@@ -2,7 +2,7 @@
// FLASHROM MODULE
// (also includes SNES repro functions)
//******************************************
-#ifdef ENABLE_FLASH
+#ifdef ENABLE_FLASH8
/******************************************
Variables
@@ -2842,7 +2842,7 @@ void identifyCFI_Flash() {
flashSwitchLastBits = true;
} else {
// Try x16 mode next
- startCFIMode(true);
+ startCFIMode_Flash(true);
sprintf(cfiQRYx16, "%02X%02X%02X", readByte_Flash(0x10), readByte_Flash(0x11), readByte_Flash(0x12));
if (strcmp(cfiQRYx16, "515259") == 0) { // QRY in x16 mode
println_Msg(F("Normal CFI x16 Mode"));