From 856e271d2a68eb7005169e5c7f1b2b2fe02fc410 Mon Sep 17 00:00:00 2001 From: rw-r-r-0644 Date: Sun, 16 Sep 2018 14:58:17 +0200 Subject: [PATCH] Do not send SDL_QUIT from WIIU_PumpEvents: it causes crashes and isn't the right way to do it --- src/video/wiiu/SDL_wiiuvideo.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/video/wiiu/SDL_wiiuvideo.c b/src/video/wiiu/SDL_wiiuvideo.c index 77b80cbb7..c592c800c 100644 --- a/src/video/wiiu/SDL_wiiuvideo.c +++ b/src/video/wiiu/SDL_wiiuvideo.c @@ -180,12 +180,6 @@ static int WIIU_SetDisplayMode(_THIS, SDL_VideoDisplay *display, SDL_DisplayMode static void WIIU_PumpEvents(_THIS) { - if (!WHBProcIsRunning()) { - SDL_Event ev; - ev.type = SDL_QUIT; - SDL_PushEvent(&ev); - return; - } } static int WIIU_CreateWindowFramebuffer(_THIS, SDL_Window *window, Uint32 *format, void **pixels, int *pitch)