aboutsummaryrefslogtreecommitdiff
path: root/frontend/common
diff options
context:
space:
mode:
authornotaz2011-01-04 19:36:35 +0200
committernotaz2011-01-04 19:36:35 +0200
commit61363062a18cd8382932310e8072fc06f5c8eeb5 (patch)
tree7f9557819389680af2d0e81e61543c22c2703b11 /frontend/common
parentc5061935e3f7b91d889d7546b06c4515c3004cb2 (diff)
downloadpcsx_rearmed-61363062a18cd8382932310e8072fc06f5c8eeb5.tar.gz
pcsx_rearmed-61363062a18cd8382932310e8072fc06f5c8eeb5.tar.bz2
pcsx_rearmed-61363062a18cd8382932310e8072fc06f5c8eeb5.zip
add savestate preview
Diffstat (limited to 'frontend/common')
-rw-r--r--frontend/common/menu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/common/menu.c b/frontend/common/menu.c
index f7085fa..ae1ff57 100644
--- a/frontend/common/menu.c
+++ b/frontend/common/menu.c
@@ -653,7 +653,7 @@ static void draw_menu_credits(void (*draw_more)(void))
p++;
}
- x = g_menuscreen_w / 2 - w * me_mfont_w / 2;
+ x = g_menuscreen_w / 2 - w * me_mfont_w / 2;
y = g_menuscreen_h / 2 - h * me_mfont_h / 2;
if (x < 0) x = 0;
if (y < 0) y = 0;
@@ -949,6 +949,10 @@ static void draw_savestate_menu(int menu_sel, int is_loading)
if (x < 0) x = 0;
y = g_menuscreen_h / 2 - h / 2;
if (y < 0) y = 0;
+#ifdef MENU_ALIGN_LEFT
+ if (x > 12 + me_mfont_w * 2)
+ x = 12 + me_mfont_w * 2;
+#endif
menu_draw_begin(1);