aboutsummaryrefslogtreecommitdiff
path: root/source/nds
diff options
context:
space:
mode:
authorNebuleon Fumika2013-03-30 01:22:59 -0400
committerNebuleon Fumika2013-03-30 01:22:59 -0400
commitafe9a7ca264aabd304b9fbebe7a95502142bab00 (patch)
tree4a6e3050c9b643a6320ffea404188d2f30f543f5 /source/nds
parent55b5c8ff65834d9f9e247694f8b5cc56649c42dd (diff)
downloadsnes9x2005-afe9a7ca264aabd304b9fbebe7a95502142bab00.tar.gz
snes9x2005-afe9a7ca264aabd304b9fbebe7a95502142bab00.tar.bz2
snes9x2005-afe9a7ca264aabd304b9fbebe7a95502142bab00.zip
Fix the odd text disappearance bug in recently played games due to the position being preserved.
Diffstat (limited to 'source/nds')
-rw-r--r--source/nds/gui.c4
1 files changed, 2 insertions, 2 deletions
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;
}