fix display wii game name and description (only WIN32 working).

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2125 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hyperiris
2009-02-06 16:53:22 +00:00
parent 5df69d0384
commit 825919aaf8
5 changed files with 39 additions and 41 deletions

View File

@ -49,7 +49,12 @@ class IBannerLoader
bool CopyToStringAndCheck(std::string& _rDestination, const char* _src);
bool CopyUnicodeToString(std::string& _rDestination, const u16* _src);
bool CopyBeUnicodeToString(std::string& _rDestination, const u16* _src, int length);
private:
u16 swap16(u16 data)
{
return ((data & 0xff00) >> 8) | ((data & 0xff) << 8);
}
};
IBannerLoader* CreateBannerLoader(DiscIO::IFileSystem& _rFileSystem);