From 4205899f5a21d98923ca12abdd841149e4de372c Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Sat, 18 Apr 2026 21:57:57 -0500 Subject: [PATCH] No idea why gamecube is crashing, disabling this for now --- cmake/targets/gamecube.cmake | 2 +- src/dusk/engine/engine.c | 2 -- src/duskdolphin/network/networkdolphin.c | 18 +++++++++++------- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/cmake/targets/gamecube.cmake b/cmake/targets/gamecube.cmake index 13ffda96..269b60d6 100644 --- a/cmake/targets/gamecube.cmake +++ b/cmake/targets/gamecube.cmake @@ -6,5 +6,5 @@ target_compile_definitions(${DUSK_LIBRARY_TARGET_NAME} PUBLIC # Link libraries target_link_libraries(${DUSK_LIBRARY_TARGET_NAME} PRIVATE - bba + # bba ) diff --git a/src/dusk/engine/engine.c b/src/dusk/engine/engine.c index 0c45ed68..af8ba34d 100644 --- a/src/dusk/engine/engine.c +++ b/src/dusk/engine/engine.c @@ -98,8 +98,6 @@ errorret_t engineInit(const int32_t argc, const char_t **argv) { ENGINE.argc = argc; ENGINE.argv = argv; - assertUnreachable("Here fine"); - // Init systems. Order is important. errorChain(systemInit()); timeInit(); diff --git a/src/duskdolphin/network/networkdolphin.c b/src/duskdolphin/network/networkdolphin.c index 2030a8cb..5455c7f1 100644 --- a/src/duskdolphin/network/networkdolphin.c +++ b/src/duskdolphin/network/networkdolphin.c @@ -51,13 +51,17 @@ void networkDolphinRequestConnection( // Negotiate DHCP using the Wi-Fi settings saved in Wii System Menu. // This call blocks until the interface is configured or times out. - s32 ret = if_config( - NETWORK.platform.ip, - NETWORK.platform.netmask, - NETWORK.platform.gateway, - true, - 20 - ); + #ifdef DUSK_WII + s32 ret = if_config( + NETWORK.platform.ip, + NETWORK.platform.netmask, + NETWORK.platform.gateway, + true, + 20 + ); + #else + s32 ret = -1; + #endif if(ret >= 0) { NETWORK.state = NETWORK_STATE_CONNECTED;