Added namespace to GetBundleDirectory to compile on Mac OSX

This commit is contained in:
rukai 2015-06-21 20:00:28 +10:00
parent bbde9cbeae
commit c9e8179c5a
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ void DolphinApp::InitLanguageSupport()
#elif defined(__LINUX__) #elif defined(__LINUX__)
m_locale->AddCatalogLookupPathPrefix(StrToWxStr(DATA_DIR "../locale")); m_locale->AddCatalogLookupPathPrefix(StrToWxStr(DATA_DIR "../locale"));
#elif defined(__APPLE__) #elif defined(__APPLE__)
m_locale->AddCatalogLookupPathPrefix(StrToWxStr(GetBundleDirectory() + "Contents/Resources")); m_locale->AddCatalogLookupPathPrefix(StrToWxStr(File::GetBundleDirectory() + "Contents/Resources"));
#endif #endif
m_locale->AddCatalog("dolphin-emu"); m_locale->AddCatalog("dolphin-emu");