notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adjust vita's mappings to more resemble other platforms
[pcsx_rearmed.git]
/
frontend
/
plat_sdl.c
diff --git
a/frontend/plat_sdl.c
b/frontend/plat_sdl.c
index
5f29b90
..
c557025
100644
(file)
--- a/
frontend/plat_sdl.c
+++ b/
frontend/plat_sdl.c
@@
-328,6
+328,13
@@
void plat_video_menu_end(void)
void plat_video_menu_leave(void)
{
void plat_video_menu_leave(void)
{
+ void *fb = NULL;
+ if (plat_sdl_overlay != NULL || plat_sdl_gl_active)
+ fb = shadow_fb;
+ else if (plat_sdl_screen)
+ fb = plat_sdl_screen->pixels;
+ if (fb)
+ memset(fb, 0, g_menuscreen_w * g_menuscreen_h * 2);
in_menu = 0;
}
in_menu = 0;
}