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 Heskett
2023-01-26 10:03:07 -05:00
committed by GitHub
parent 7fdb5af8fd
commit 52a7aedaf4
6 changed files with 20 additions and 32 deletions

View File

@@ -660,10 +660,12 @@ https://github.com/buu342/N64-UNFLoader
dataleft = 0;
break;
}
// fallthrough
case '@':
filestep++;
if (filestep < 3)
break;
// fallthrough
default:
// Decide what to do based on the file handle
if (filestep == 0 && debug_command_incoming_start[tok] == -1)

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