mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-27 20:56:25 +00:00
Read opening.bnr to get names from Wii discs
This makes Dolphin display the same names as the Disc Channel.
This commit is contained in:
parent
272f9d3cbc
commit
2d5d5fa83e
4 changed files with 38 additions and 36 deletions
|
@ -113,6 +113,13 @@ protected:
|
|||
else
|
||||
return CP1252ToUTF8(string);
|
||||
}
|
||||
|
||||
static std::map<IVolume::ELanguage, std::string> ReadWiiNames(std::vector<u8>& data);
|
||||
|
||||
static const size_t NUMBER_OF_LANGUAGES = 10;
|
||||
static const size_t NAME_STRING_LENGTH = 42;
|
||||
static const size_t NAME_BYTES_LENGTH = NAME_STRING_LENGTH * sizeof(u16);
|
||||
static const size_t NAMES_TOTAL_BYTES = NAME_BYTES_LENGTH * NUMBER_OF_LANGUAGES;
|
||||
};
|
||||
|
||||
// Generic Switch function for all volumes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue