diff options
author | Roger Braunstein <[email protected]> | 2024-06-30 12:31:54 -0700 |
---|---|---|
committer | Roger Braunstein <[email protected]> | 2024-06-30 12:33:24 -0700 |
commit | ae52422502da26e53766d450be3608c4d9bf7ebd (patch) | |
tree | 4234a69ddc1003de74be5167c633d7fc4e577253 | |
parent | 75d547db22248cd677a07ac8355b96ac4e72e8ce (diff) | |
download | cartreader-ae52422502da26e53766d450be3608c4d9bf7ebd.tar.gz cartreader-ae52422502da26e53766d450be3608c4d9bf7ebd.zip |
Alternate fix
-rw-r--r-- | Cart_Reader/OSCR.h | 2 | ||||
-rw-r--r-- | Cart_Reader/SFM.ino | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Cart_Reader/OSCR.h b/Cart_Reader/OSCR.h index 943a6d8..6381d86 100644 --- a/Cart_Reader/OSCR.h +++ b/Cart_Reader/OSCR.h @@ -124,7 +124,9 @@ enum CORES: uint8_t { # endif # ifdef ENABLE_SFM CORE_SFM, +# ifdef ENABLE_FLASH CORE_SFM_FLASH, +# endif CORE_SFM_GAME, # endif # ifdef ENABLE_GBX diff --git a/Cart_Reader/SFM.ino b/Cart_Reader/SFM.ino index 276c51a..ab144fd 100644 --- a/Cart_Reader/SFM.ino +++ b/Cart_Reader/SFM.ino @@ -58,14 +58,19 @@ void sfmMenu() { case 0: sfmGameMenu(); break; +#ifdef CORE_SFM_FLASH // Flash menu case 1: mode = CORE_SFM_FLASH; break; +#endif // Reset case 2: resetArduino(); break; + default: + print_MissingModule(); + break; } } |