diff --git a/rpcs3/main.cpp b/rpcs3/main.cpp index 5ca92aac12..9b11905068 100644 --- a/rpcs3/main.cpp +++ b/rpcs3/main.cpp @@ -3,6 +3,7 @@ #include #include +#include #include #include @@ -72,6 +73,13 @@ DYNAMIC_IMPORT("ntdll.dll", NtSetTimerResolution, NTSTATUS(ULONG DesiredResoluti #include "util/sysinfo.hpp" +// Let's initialize the locale first +static const bool s_init_locale = []() +{ + std::setlocale(LC_ALL, "C"); + return true; +}(); + inline std::string sstr(const QString& _in) { return _in.toStdString(); } static semaphore<> s_qt_init;