platform sdl, fix minor bug in window size handling

This commit is contained in:
kub 2023-02-12 22:51:44 +00:00
parent e64742875a
commit 5aa5700685
2 changed files with 22 additions and 7 deletions

View file

@ -442,7 +442,7 @@ void pemu_loop_prep(void)
void pemu_loop_end(void)
{
/* do one more frame for menu bg */
plat_video_set_size(320, 240);
plat_video_set_shadow(320, 240);
pemu_forced_frame(0, 1);
g_menubg_src_w = g_screen_width;
g_menubg_src_h = g_screen_height;