Skip to content

Commit

Permalink
[Vita] fix compilation for Vita
Browse files Browse the repository at this point in the history
  • Loading branch information
rsn8887 committed Jan 17, 2019
1 parent 9efa0d6 commit 3641a39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/psp2/psp2_input.c
Expand Up @@ -79,8 +79,10 @@ int PSP2_PollEvent(SDL_Event *event) {

int ret = SDL_PollEvent(event);

#ifdef __SWITCH__
if (event != NULL && event->type == SDL_QUIT)
exit_safely(1);
#endif

if(event != NULL && inside_menu) {

Expand Down

0 comments on commit 3641a39

Please sign in to comment.