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; } }