mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
UI: makes dolphin displays japanese region games' names and their descriptions.
only work on windows and asian language support installed. (without fonts and codepages, we can not display text, I'm sure). BTW, I only test on GC games, I've no Wii games now, and .\User\Cache directory must be cleared to work (delete all cached files) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1972 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
56ee6e5497
commit
8f4d58e082
7 changed files with 184 additions and 37 deletions
|
@ -38,16 +38,18 @@ class IBannerLoader
|
|||
|
||||
virtual bool GetBanner(u32* _pBannerImage) = 0;
|
||||
|
||||
virtual bool GetName(std::string& _rName, int language) = 0;
|
||||
virtual bool GetName(std::string& _rName, DiscIO::IVolume::ECountry language) = 0;
|
||||
|
||||
virtual bool GetCompany(std::string& _rCompany) = 0;
|
||||
|
||||
virtual bool GetDescription(std::string& _rDescription) = 0;
|
||||
virtual bool GetDescription(std::string& _rDescription, DiscIO::IVolume::ECountry language) = 0;
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
bool CopyToStringAndCheck(std::string& _rDestination, const char* _src);
|
||||
bool CopySJISToString(std::string& _rDestination, const char* _src);
|
||||
bool CopyUnicodeToString(std::string& _rDestination, const u16* _src);
|
||||
};
|
||||
|
||||
IBannerLoader* CreateBannerLoader(DiscIO::IFileSystem& _rFileSystem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue