Update isleapp.cpp (update)

This commit is contained in:
Lyelye150 2025-10-19 19:53:11 -04:00 committed by GitHub
parent 3c70235970
commit 52d3a3524c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -403,7 +403,7 @@ int main(int argc, char** argv)
DrawColorScreen(1.0f, 1.0f, 0.0f); DrawColorScreen(1.0f, 1.0f, 0.0f);
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;
@ -411,7 +411,7 @@ int main(int argc, char** argv)
DrawColorScreen(0.0f, 0.0f, 1.0f); DrawColorScreen(0.0f, 0.0f, 1.0f);
SDL_AppResult argResult = app.ParseArguments(argc, argv); SDL_AppResult argResult = 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) {