diff options
author | Nebuleon Fumika | 2013-03-30 01:22:59 -0400 |
---|---|---|
committer | Nebuleon Fumika | 2013-03-30 01:22:59 -0400 |
commit | afe9a7ca264aabd304b9fbebe7a95502142bab00 (patch) | |
tree | 4a6e3050c9b643a6320ffea404188d2f30f543f5 /source | |
parent | 55b5c8ff65834d9f9e247694f8b5cc56649c42dd (diff) | |
download | snesemu-afe9a7ca264aabd304b9fbebe7a95502142bab00.tar.gz snesemu-afe9a7ca264aabd304b9fbebe7a95502142bab00.tar.bz2 snesemu-afe9a7ca264aabd304b9fbebe7a95502142bab00.zip |
Fix the odd text disappearance bug in recently played games due to the position being preserved.
Diffstat (limited to 'source')
-rw-r--r-- | source/nds/gui.c | 4 |
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; } |