mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-18 21:31:16 +00:00
Update isleapp.cpp (messed up whoops)
This commit is contained in:
parent
63579f3f24
commit
f555ef9256
@ -404,7 +404,7 @@ int main(int argc, char** argv)
|
|||||||
DrawColorScreen(1.0f, 1.0f, 0.0f);
|
DrawColorScreen(1.0f, 1.0f, 0.0f);
|
||||||
|
|
||||||
SDL_Event event;
|
SDL_Event event;
|
||||||
SDL_AppResult eventResult = SDL_AppEvent(appstate, $event);
|
SDL_AppResult eventResult = SDL_AppEvent(appstate, &event);
|
||||||
if (eventResult != 0) {
|
if (eventResult != 0) {
|
||||||
ShowWiiUError(u"SDL_AppEvent failed");
|
ShowWiiUError(u"SDL_AppEvent failed");
|
||||||
return -1;
|
return -1;
|
||||||
@ -413,7 +413,7 @@ int main(int argc, char** argv)
|
|||||||
DrawColorScreen(0.0f, 0.0f, 1.0f);
|
DrawColorScreen(0.0f, 0.0f, 1.0f);
|
||||||
|
|
||||||
IsleApp app;
|
IsleApp app;
|
||||||
SDL_AppResult argResult = app.ParseArguments(&argc, argv);
|
SDL_AppResult argResult = app.ParseArguments(argc, argv);
|
||||||
if (argResult == SDL_APP_FAILURE) {
|
if (argResult == SDL_APP_FAILURE) {
|
||||||
return -1;
|
return -1;
|
||||||
} else if (argResult == SDL_APP_SUCCESS) {
|
} else if (argResult == SDL_APP_SUCCESS) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user