diff --git a/ISLE/isleapp.cpp b/ISLE/isleapp.cpp index b38f930f..3045fe2f 100644 --- a/ISLE/isleapp.cpp +++ b/ISLE/isleapp.cpp @@ -403,7 +403,8 @@ int main(int argc, char** argv) DrawColorScreen(1.0f, 1.0f, 0.0f); - SDL_AppResult eventResult = SDL_AppEvent(&appstate, event); + SDL_Event event; + SDL_AppResult eventResult = SDL_AppEvent(appstate, $event); if (eventResult != 0) { ShowWiiUError(u"SDL_AppEvent failed"); return -1; @@ -411,7 +412,8 @@ int main(int argc, char** argv) DrawColorScreen(0.0f, 0.0f, 1.0f); - SDL_AppResult argResult = ParseArguments(&argc, argv); + IsleApp app; + SDL_AppResult argResult = app.ParseArguments(&argc, argv); if (argResult == SDL_APP_FAILURE) { return -1; } else if (argResult == SDL_APP_SUCCESS) {