mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-28 18:01:16 +00:00
Update isleapp.cpp (added errlua/error screen)
This commit is contained in:
parent
37c873950d
commit
939391b16c
@ -67,6 +67,9 @@
|
|||||||
|
|
||||||
#ifdef __WIIU__
|
#ifdef __WIIU__
|
||||||
#include "wiiu/config.h"
|
#include "wiiu/config.h"
|
||||||
|
#ifdef __WUT__
|
||||||
|
#include <errlua/errlua.h>
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WINDOWS_STORE
|
#ifdef WINDOWS_STORE
|
||||||
@ -82,7 +85,8 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(IsleApp, 0x8c)
|
DECOMP_SIZE_ASSERT(IsleApp, 0x8c)
|
||||||
|
NOT THERE
|
||||||
|
Do a few things: NOT THERE
|
||||||
// GLOBAL: ISLE 0x410030
|
// GLOBAL: ISLE 0x410030
|
||||||
IsleApp* g_isle = NULL;
|
IsleApp* g_isle = NULL;
|
||||||
|
|
||||||
@ -299,6 +303,8 @@ void IsleApp::SetupVideoFlags(
|
|||||||
#ifdef __WUT__
|
#ifdef __WUT__
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
errluaInit(); // added wiiu errlua
|
||||||
|
errluaSetScreenEnabled(true);
|
||||||
void* appstate = NULL;
|
void* appstate = NULL;
|
||||||
return SDL_AppInit(&appstate, argc, argv);
|
return SDL_AppInit(&appstate, argc, argv);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user