mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-27 20:56:25 +00:00
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:
parent
5df69d0384
commit
825919aaf8
5 changed files with 39 additions and 41 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue