diff options
author | neonloop | 2023-02-02 16:45:50 +0000 |
---|---|---|
committer | neonloop | 2023-02-02 16:45:50 +0000 |
commit | cc1b63c133a82a2af93f31c36dd59205ad3c6501 (patch) | |
tree | ad8af2188f86c8c005f52df171d67eb17708d2fe /funkey/fk_menu.c | |
parent | 1b49088ba05131effde0b26133ecee26ffdd183c (diff) | |
download | picoarch-cc1b63c133a82a2af93f31c36dd59205ad3c6501.tar.gz picoarch-cc1b63c133a82a2af93f31c36dd59205ad3c6501.tar.bz2 picoarch-cc1b63c133a82a2af93f31c36dd59205ad3c6501.zip |
Fixes savestate screenshot and advanced menu background
Diffstat (limited to 'funkey/fk_menu.c')
-rw-r--r-- | funkey/fk_menu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/funkey/fk_menu.c b/funkey/fk_menu.c index 8028915..1983dd9 100644 --- a/funkey/fk_menu.c +++ b/funkey/fk_menu.c @@ -972,6 +972,8 @@ int FK_RunMenu(SDL_Surface *screen) read_aspect_ratio(); #endif + plat_video_menu_enter(1); + /// ------ Backup currently displayed app screen ------- background_screen = SDL_CreateRGBSurface(SDL_SWSURFACE, screen->w, screen->h, 32, 0, 0, 0, 0); @@ -1479,7 +1481,8 @@ int FK_RunMenu(SDL_Surface *screen) background_screen = NULL; } MENU_DEBUG_PRINTF("Leave Menu\n"); - plat_video_menu_leave(); + if (returnCode != MENU_RETURN_MENU) + plat_video_menu_leave(); return returnCode; } |