summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2021-10-06 07:14:18 +1100
committer Vas Crabb <vas@vastheman.com>2021-10-06 07:14:18 +1100
commitac9ca1d020ae9d1f335f7bbb8876680d5fb41603 (patch)
tree7fa24fbe89438252ac1d667886d41143da356aae /src/frontend/mame/ui
parent190eafe573bdb989ecebe880d4801d909d856dad (diff)
-ui: Put software description on the left and sort by description by default.
-osd/windows: Set locale on start so sorting in the UI works properly.
Diffstat (limited to 'src/frontend/mame/ui')
-rw-r--r--src/frontend/mame/ui/swlist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/ui/swlist.cpp b/src/frontend/mame/ui/swlist.cpp
index 3053ecf73bc..c1650654e5a 100644
--- a/src/frontend/mame/ui/swlist.cpp
+++ b/src/frontend/mame/ui/swlist.cpp
@@ -152,7 +152,7 @@ menu_software_list::menu_software_list(mame_ui_manager &mui, render_container &c
{
m_swlist = swlist;
m_interface = interface;
- m_ordered_by_shortname = true;
+ m_ordered_by_shortname = false;
}
@@ -229,7 +229,7 @@ void menu_software_list::populate(float &customtop, float &custombottom)
// append all of the menu entries
for (auto &entry : m_entrylist)
- item_append(entry.short_name, entry.long_name, 0, &entry);
+ item_append(entry.long_name, entry.short_name, 0, &entry);
item_append(menu_item_type::SEPARATOR);
}