summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/frontend/mame/ui/swlist.cpp4
-rw-r--r--src/osd/windows/winmain.cpp2
2 files changed, 4 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);
}
diff --git a/src/osd/windows/winmain.cpp b/src/osd/windows/winmain.cpp
index e37dd725034..f9d5f4964c2 100644
--- a/src/osd/windows/winmain.cpp
+++ b/src/osd/windows/winmain.cpp
@@ -22,6 +22,7 @@
// standard C headers
#include <cctype>
+#include <clocale>
#include <cstdarg>
#include <cstdio>
@@ -286,6 +287,7 @@ const options_entry windows_options::s_option_entries[] =
int main(int argc, char *argv[])
{
+ std::setlocale(LC_ALL, "");
std::vector<std::string> args = osd_get_command_line(argc, argv);
// use small output buffers on non-TTYs (i.e. pipes)