[Project64] Get wGS to be windows only

This commit is contained in:
zilmar 2016-01-13 22:18:22 +11:00
parent 51cc15687d
commit 30841d5e31
2 changed files with 7 additions and 3 deletions

View File

@ -723,7 +723,9 @@ bool CLanguage::IsCurrentLang(LanguageFile & File)
return false;
}
#ifdef _WIN32
const std::wstring wGS(LanguageStringID StringID)
{
return stdstr(g_Lang->GetString(StringID)).ToUTF16();
}
}
#endif

View File

@ -58,9 +58,11 @@ private:
extern CLanguage * g_Lang;
const std::wstring wGS(LanguageStringID StringID);
inline const char * GS(LanguageStringID StringID)
{
return g_Lang->GetString(StringID).c_str();
}
#ifdef _WIN32
const std::wstring wGS(LanguageStringID StringID);
#endif