platform ps2+psp, fix crash in save/load state menu
authorkub <derkub@gmail.com>
Tue, 15 Oct 2024 22:28:02 +0000 (00:28 +0200)
committerkub <derkub@gmail.com>
Tue, 15 Oct 2024 22:28:06 +0000 (00:28 +0200)
platform/ps2/emu.c
platform/psp/plat.c

index d59615b..6066757 100644 (file)
@@ -878,7 +878,6 @@ void plat_video_menu_update(void)
 /* switch from emulation display to menu display */
 void plat_video_menu_enter(int is_rom_loaded)
 {
-       g_screen_ptr = NULL;
 }
 
 /* start rendering a menu screen */
index 0548278..e4192c8 100644 (file)
@@ -107,7 +107,6 @@ void plat_video_menu_update(void)
 /* switch from emulation display to menu display */
 void plat_video_menu_enter(int is_rom_loaded)
 {
-       g_screen_ptr = NULL;
 }
 
 /* start rendering a menu screen */