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 /plat_sdl.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 'plat_sdl.c')
-rw-r--r-- | plat_sdl.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -179,6 +179,9 @@ finish: void plat_video_menu_enter(int is_rom_loaded) { + if (g_menuscreen_ptr) + return; + SDL_LockSurface(screen); memcpy(g_menubg_src_ptr, screen->pixels, g_menubg_src_h * g_menubg_src_pp * sizeof(uint16_t)); SDL_UnlockSurface(screen); |