Don't require running Dolphin in the directory that contain Languages/ on Windows

This commit is contained in:
Pierre Bourdon 2013-09-21 20:20:38 +02:00
parent d321aa7e7a
commit 91c0e02609

View File

@ -407,7 +407,7 @@ void DolphinApp::InitLanguageSupport()
m_locale = new wxLocale(language);
#ifdef _WIN32
m_locale->AddCatalogLookupPathPrefix(wxT("Languages"));
m_locale->AddCatalogLookupPathPrefix(StrToWxStr(File::GetExeDirectory() + DIR_SEP "Languages"));
#endif
m_locale->AddCatalog(wxT("dolphin-emu"));