Update isleapp.cpp (added errlua/error screen)

This commit is contained in:
Lyelye150 2025-10-19 11:33:36 -04:00 committed by GitHub
parent 37c873950d
commit 939391b16c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,6 +67,9 @@
#ifdef __WIIU__
#include "wiiu/config.h"
#ifdef __WUT__
#include <errlua/errlua.h>
#endif
#endif
#ifdef WINDOWS_STORE
@ -82,7 +85,8 @@
#endif
DECOMP_SIZE_ASSERT(IsleApp, 0x8c)
NOT THERE
Do a few things: NOT THERE
// GLOBAL: ISLE 0x410030
IsleApp* g_isle = NULL;
@ -299,6 +303,8 @@ void IsleApp::SetupVideoFlags(
#ifdef __WUT__
int main(int argc, char** argv)
{
errluaInit(); // added wiiu errlua
errluaSetScreenEnabled(true);
void* appstate = NULL;
return SDL_AppInit(&appstate, argc, argv);
}