Skip to content

Commit

Permalink
wii: Remove GDB stub debug
Browse files Browse the repository at this point in the history
This prevents the program from hitting a breakpoint whenever something is plugged in GC Memory Card Slot B.
Never used anyway.
  • Loading branch information
Mefiresu committed Oct 16, 2022
1 parent 6c81ded commit 77b838d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions RSDKv5/RSDK/Core/RetroEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,6 @@ static void initNxLink()
#endif

#if __wii__
#include <debug.h>
#include <ogcsys.h>
#include <gccore.h>
#include <wiiuse/wpad.h>
Expand All @@ -1394,7 +1393,6 @@ void RSDK::InitCoreAPI()
if (!fatInitDefault()) {
exit(1);
}
DEBUG_Init(GDBSTUB_DEVICE_USB, 1);
#endif

#if RETRO_RENDERDEVICE_SDL2 || RETRO_AUDIODEVICE_SDL2 || RETRO_INPUTDEVICE_SDL2
Expand Down
2 changes: 1 addition & 1 deletion makefiles/Wii.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CFLAGS += $(ARCH)
CXXFLAGS += $(ARCH)
DEFINES += -DRETRO_USE_MOD_LOADER=0 -DRETRO_DISABLE_LOG
LDFLAGS += -g $(ARCH) -Wl,-Map,$(notdir $*.map) -L$(LIBOGC_LIB)
RSDK_LIBS += -ldb -lwiiuse -lbte -lfat -laesnd -logc -lm
RSDK_LIBS += -lwiiuse -lbte -lfat -laesnd -logc -lm
RSDK_INCLUDES += -I$(LIBOGC_INC)

GAME_FLAGS += -DGAME_MAIN=main
Expand Down

0 comments on commit 77b838d

Please sign in to comment.