summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend
diff options
context:
space:
mode:
author cracyc <cracyc@users.noreply.github.com>2017-12-20 21:16:32 -0600
committer cracyc <cracyc@users.noreply.github.com>2017-12-20 21:16:32 -0600
commitda0c536130cb3b45c7f35d57eb05ced5d8017be5 (patch)
tree0bf45485eda0f185f3e02c67c3a87a72a830c393 /src/frontend
parentffad25e0e7e4b86995491dec41a2ec6c57a5dec5 (diff)
fmtowns_cd: hand fix rbisland (nw)
load_dat.lua: fix crlf issue (nw) selsoft: fix off-by-one crash (nw)
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/mame/ui/selsoft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/selsoft.cpp b/src/frontend/mame/ui/selsoft.cpp
index 5e7a46ad156..e7ebc3effa2 100644
--- a/src/frontend/mame/ui/selsoft.cpp
+++ b/src/frontend/mame/ui/selsoft.cpp
@@ -158,7 +158,7 @@ void menu_select_software::handle()
ui_globals::switch_image = true;
ui_globals::default_image = false;
}
- else if (ui_globals::rpanel == RP_INFOS && ui_globals::cur_sw_dats_view < ui_globals::cur_sw_dats_total)
+ else if (ui_globals::rpanel == RP_INFOS && ui_globals::cur_sw_dats_view < (ui_globals::cur_sw_dats_total - 1))
{
// Infos
ui_globals::cur_sw_dats_view++;