diff options
author | 2017-12-20 21:16:32 -0600 | |
---|---|---|
committer | 2017-12-20 21:16:32 -0600 | |
commit | da0c536130cb3b45c7f35d57eb05ced5d8017be5 (patch) | |
tree | 0bf45485eda0f185f3e02c67c3a87a72a830c393 /src/frontend/mame/ui/selsoft.cpp | |
parent | ffad25e0e7e4b86995491dec41a2ec6c57a5dec5 (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/mame/ui/selsoft.cpp')
-rw-r--r-- | src/frontend/mame/ui/selsoft.cpp | 2 |
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++; |