From 61363062a18cd8382932310e8072fc06f5c8eeb5 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 4 Jan 2011 19:36:35 +0200 Subject: add savestate preview --- frontend/common/menu.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'frontend/common') 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); -- cgit v1.2.3