diff options
| author | nakeee <nakeee@gmail.com> | 2009-01-24 22:24:44 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2009-01-24 22:24:44 +0000 |
| commit | 2e92b94e4a28de7998c4d372f9838527c9fc60ca (patch) | |
| tree | ed5a1992e5be6605b5a022762b254fdb8b3eb94d /Source/Core/DiscIO/Src/BannerLoaderWii.cpp | |
| parent | 0db67cf51c85796a33b75139e7eb6f0225b7bd3d (diff) | |
Compile fix on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2005 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO/Src/BannerLoaderWii.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Src/BannerLoaderWii.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/Src/BannerLoaderWii.cpp b/Source/Core/DiscIO/Src/BannerLoaderWii.cpp index 1cd8b9ff24..92feccdd3a 100644 --- a/Source/Core/DiscIO/Src/BannerLoaderWii.cpp +++ b/Source/Core/DiscIO/Src/BannerLoaderWii.cpp @@ -126,11 +126,13 @@ CBannerLoaderWii::GetName(std::string& _rName, DiscIO::IVolume::ECountry languag // find Banner type SWiiBanner* pBanner = (SWiiBanner*)m_pBannerFile; +#ifdef _WIN32 if (DiscIO::IVolume::COUNTRY_JAP == language) { return CopyUnicodeToString(_rName, pBanner->m_Comment[0]); } else +#endif { // very stupid _rName = StupidWideCharToString(pBanner->m_Comment[0], WII_BANNER_COMMENT_SIZE); |
