Replace debug libultra builds with their ido counterparts (#572)

* Replace debug libultra builds with their ido counterparts

This is necessary because GameCube controllers apparently rely on the IDO build, also the release build is IDO anyway

* Remove fallthrough warnings from usb/debug.c

* remove need for debug libultra with unf and use lib define in ld

Co-authored-by: thecozies <collinpferguson@gmail.com>
This commit is contained in:
Gregory Heskettandthecozies authored and GitHub committed 2023-01-26 09:03:07 -06:00
1 parent 7fdb5af8fd
commit 52a7aedaf4
6 files changed
+20 -32

No files matched your search

+5 -3
View File
@@ -9,7 +9,7 @@
#define DEBUG_MODE 1 // Enable/Disable debug mode
#define DEBUG_INIT_MSG 1 // Print a message when debug mode has initialized
#define USE_FAULTTHREAD 1 // Create a fault detection thread (libultra only)
#define OVERWRITE_OSPRINT 1 // Replaces osSyncPrintf calls with debug_printf (libultra only)
// #define OVERWRITE_OSPRINT 1 // Replaces osSyncPrintf calls with debug_printf (defined in makefile - libultra_rom does not have osSyncPrintf)
#define MAX_COMMANDS 25 // The max amount of user defined commands possible
// Fault thread definitions (libultra only)
@@ -46,7 +46,9 @@
==============================*/
extern void debug_printf(const char* message, ...);
#if OVERWRITE_OSPRINT == 0
#define osSyncPrintf debug_printf
#endif
/*==============================
debug_dumpbinary
@@ -153,4 +155,4 @@
#endif
#endif
#endif