add fullscreen option (#146)

* add fullscreen option

* fix crash
This commit is contained in:
Logan McNaughton
2025-01-14 19:50:35 +01:00
committed by GitHub
parent b2c1d88ea4
commit c6c2187652
3 changed files with 18 additions and 3 deletions
+4 -1
View File
@@ -142,7 +142,10 @@ int sdl_event_filter(void *userdata, SDL_Event *event)
emu_running = false;
break;
case SDL_WINDOWEVENT_RESIZED:
wsi_platform->do_resize();
if (emu_running)
{
wsi_platform->do_resize();
}
break;
default:
break;