Skip to content

Commit

Permalink
Fix compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
sanni committed Sep 13, 2024
1 parent e108d8d commit 405b735
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
10 changes: 5 additions & 5 deletions Cart_Reader/Cart_Reader.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
This project represents a community-driven effort to provide
an easy to build and easy to modify cartridge dumper.
Date: 2024-08-16
Version: 14.4
Date: 2024-09-13
Version: 14.5
SD lib: https://github.com/greiman/SdFat
LCD lib: https://github.com/olikraus/u8g2
Expand All @@ -15,7 +15,7 @@
RTC lib: https://github.com/adafruit/RTClib
Frequency lib: https://github.com/PaulStoffregen/FreqCount
Compiled with Arduino IDE 2.2.1
Compiled with Arduino IDE 2.3.2
Thanks to:
MichlK - ROM Reader for Super Nintendo
Expand Down Expand Up @@ -1574,7 +1574,7 @@ void mainMenu() {
break;
#endif

#ifdef ENABLE_CPS3
#if (defined(ENABLE_CPS3) && defined(ENABLE_FLASH8) && defined(ENABLE_FLASH16))
case SYSTEM_MENU_CPS3:
return cpsMenu();
#endif
Expand Down Expand Up @@ -3842,7 +3842,7 @@ void loop() {
#ifdef ENABLE_VSMILE
case CORE_VSMILE: return vsmileMenu();
#endif
#ifdef ENABLE_CPS3
#if (defined(ENABLE_CPS3) && defined(ENABLE_FLASH8) && defined(ENABLE_FLASH16))
case CORE_CPS3_CART: return flashromCPS_Cartridge();
case CORE_CPS3_128SIMM: return flashromCPS_SIMM2x8();
case CORE_CPS3_64SIMM: return flashromCPS_SIMM4x8();
Expand Down
3 changes: 2 additions & 1 deletion Cart_Reader/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,10 @@
/****/

/* [ CP System III ------------------------------------------------ ]
also needs ENABLE_FLASH8 and ENABLE_FLASH16 to be enabled
*/

#define ENABLE_CPS3
//#define ENABLE_CPS3

/****/

Expand Down
2 changes: 1 addition & 1 deletion Cart_Reader/FLASH_CPS3.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Tested with HW5
// https://github.com/herzmx/CPS3-OSCR-Adapter
//******************************************
#ifdef ENABLE_CPS3
#if (defined(ENABLE_CPS3) && defined(ENABLE_FLASH8) && defined(ENABLE_FLASH16))
/******************************************
Variables
*****************************************/
Expand Down
2 changes: 1 addition & 1 deletion Cart_Reader/OSCR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* String Constants
**/
// Firmware Version
constexpr char PROGMEM FSTRING_VERSION[] = "V14.4";
constexpr char PROGMEM FSTRING_VERSION[] = "V14.5";

// Universal
constexpr char PROGMEM FSTRING_RESET[] = "Reset";
Expand Down
2 changes: 1 addition & 1 deletion Cart_Reader/OSCR.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ enum CORES: uint8_t {
# ifdef ENABLE_VSMILE
CORE_VSMILE,
# endif
# ifdef ENABLE_CPS3
#if (defined(ENABLE_CPS3) && defined(ENABLE_FLASH8) && defined(ENABLE_FLASH16))
CORE_CPS3_CART,
CORE_CPS3_64SIMM,
CORE_CPS3_128SIMM,
Expand Down

0 comments on commit 405b735

Please sign in to comment.