aboutsummaryrefslogtreecommitdiff
path: root/frontend/common/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/common/menu.c')
-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);