mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	qt: Migrate to Qt6. (#6418)
This commit is contained in:
		
							parent
							
								
									70335a7f4d
								
							
						
					
					
						commit
						2273df4d70
					
				
					 32 changed files with 299 additions and 464 deletions
				
			
		|  | @ -44,11 +44,11 @@ std::vector<u16> SMDH::GetIcon(bool large) const { | |||
|     return icon; | ||||
| } | ||||
| 
 | ||||
| std::array<u16, 0x40> SMDH::GetShortTitle(Loader::SMDH::TitleLanguage language) const { | ||||
| std::array<char16_t, 0x40> SMDH::GetShortTitle(Loader::SMDH::TitleLanguage language) const { | ||||
|     return titles[static_cast<int>(language)].short_title; | ||||
| } | ||||
| 
 | ||||
| std::array<u16, 0x80> SMDH::GetLongTitle(Loader::SMDH::TitleLanguage language) const { | ||||
| std::array<char16_t, 0x80> SMDH::GetLongTitle(Loader::SMDH::TitleLanguage language) const { | ||||
|     return titles[static_cast<int>(language)].long_title; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -26,9 +26,9 @@ struct SMDH { | |||
|     INSERT_PADDING_BYTES(2); | ||||
| 
 | ||||
|     struct Title { | ||||
|         std::array<u16, 0x40> short_title; | ||||
|         std::array<u16, 0x80> long_title; | ||||
|         std::array<u16, 0x40> publisher; | ||||
|         std::array<char16_t, 0x40> short_title; | ||||
|         std::array<char16_t, 0x80> long_title; | ||||
|         std::array<char16_t, 0x40> publisher; | ||||
|     }; | ||||
|     std::array<Title, 16> titles; | ||||
| 
 | ||||
|  | @ -88,14 +88,14 @@ struct SMDH { | |||
|      * @param language title language | ||||
|      * @return UTF-16 array of the short title | ||||
|      */ | ||||
|     std::array<u16, 0x40> GetShortTitle(Loader::SMDH::TitleLanguage language) const; | ||||
|     std::array<char16_t, 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::array<char16_t, 0x80> GetLongTitle(Loader::SMDH::TitleLanguage language) const; | ||||
| 
 | ||||
|     std::vector<GameRegion> GetRegions() const; | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue