From e825cbae92c34e894ee54090e3621ff6beea5de4 Mon Sep 17 00:00:00 2001 From: Lyelye150 Date: Sat, 18 Oct 2025 18:02:00 -0400 Subject: [PATCH] Update isleapp.cpp removed stub and added the version from my pc --- ISLE/isleapp.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/ISLE/isleapp.cpp b/ISLE/isleapp.cpp index 923e2eb8..76a9452c 100644 --- a/ISLE/isleapp.cpp +++ b/ISLE/isleapp.cpp @@ -81,14 +81,6 @@ #include "android/config.h" #endif -// i will figure out this someday -#ifdef __WUT__ -int main(int argc, char** argv) { - // stub so actions will work - return = 0 -} -#endif - DECOMP_SIZE_ASSERT(IsleApp, 0x8c) // GLOBAL: ISLE 0x410030 @@ -301,6 +293,13 @@ void IsleApp::SetupVideoFlags( m_videoParam.Flags().Set16Bit(1); } } +// i will figure out how to get this working :/ +#ifdef __WUT__ +int main(int argc, char** argv) { + void* appstate = nullptr; + return SDL_AppInit(&appstate, argc, argv); +} +#endif SDL_AppResult SDL_AppInit(void** appstate, int argc, char** argv) { *appstate = NULL;