From afe9a7ca264aabd304b9fbebe7a95502142bab00 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Sat, 30 Mar 2013 01:22:59 -0400 Subject: Fix the odd text disappearance bug in recently played games due to the position being preserved. --- source/nds/gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/nds/gui.c') diff --git a/source/nds/gui.c b/source/nds/gui.c index 28b49a3..727f7ad 100644 --- a/source/nds/gui.c +++ b/source/nds/gui.c @@ -3330,8 +3330,8 @@ u32 menu(u16 *screen, bool8 FirstInvocation) { ext_pos= strrchr(emu_config.latest_file[k], '/'); if(ext_pos != NULL) - draw_hscroll_init(down_screen_addr, OPTION_TEXT_X, GUI_ROW1_Y + k * GUI_ROW_SY + TEXT_OFFSET_Y, OPTION_TEXT_SX, - COLOR_TRANS, COLOR_INACTIVE_ITEM, ext_pos+1); + hscroll_init(down_screen_addr, OPTION_TEXT_X, GUI_ROW1_Y + k * GUI_ROW_SY + TEXT_OFFSET_Y, OPTION_TEXT_SX, + COLOR_TRANS, k + 1 == latest_game_menu.focus_option ? COLOR_ACTIVE_ITEM : COLOR_INACTIVE_ITEM, ext_pos+1); else break; } -- cgit v1.2.3