Allow displaying of the full title in the interface, as well as use the full title in the search filter

This commit is contained in:
vitor-k 2019-09-04 23:15:37 -03:00
parent d6f2bc8c04
commit f9cded05fd
6 changed files with 43 additions and 4 deletions

View file

@ -86,6 +86,13 @@ struct SMDH {
*/
std::array<u16, 0x40> GetShortTitle(Loader::SMDH::TitleLanguage language) const;
/**
* Gets the long game title from SMDH
* @param language title language
* @return UTF-16 array of the long title
*/
std::array<u16, 0x80> GetLongTitle(Loader::SMDH::TitleLanguage language) const;
std::vector<GameRegion> GetRegions() const;
};
static_assert(sizeof(SMDH) == 0x36C0, "SMDH structure size is wrong");