From b7202a2b0d631aea3100fd5bef21c9360722aa43 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 3 Feb 2025 22:48:07 -0600 Subject: [PATCH] [nostalgia/player] Disable Keel mods on GBA --- src/nostalgia/player/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/nostalgia/player/CMakeLists.txt b/src/nostalgia/player/CMakeLists.txt index 331df8ba..922b4787 100644 --- a/src/nostalgia/player/CMakeLists.txt +++ b/src/nostalgia/player/CMakeLists.txt @@ -9,6 +9,7 @@ if(NOT WIN32) endif() if(COMMAND OBJCOPY_FILE) + set(LOAD_KEEL_MODS FALSE) set_target_properties(Nostalgia PROPERTIES LINK_FLAGS ${LINKER_FLAGS} @@ -17,8 +18,16 @@ if(COMMAND OBJCOPY_FILE) OBJCOPY_FILE(Nostalgia) #PADBIN_FILE(Nostalgia) +else() + set(LOAD_KEEL_MODS TRUE) endif() +target_compile_definitions( + Nostalgia PRIVATE + OLYMPIC_LOAD_KEEL_MODULES=$ + OLYMPIC_GUI_APP=1 +) + target_link_libraries( Nostalgia NostalgiaKeelModules