mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Move MiiData to its own namespace and add ChecksummedMiiData (#6824)
* Move mii to own namespace and add checksummed mii data * Fix compile issues * Make mii classes trivial and add cast operator * Fix Android side * Add new line at the end of files. * Make miidata a struct and crc16 a u32_be as per switch code. * Apply suggestions * Change back crc to u16 and set padding to 0.
This commit is contained in:
		
							parent
							
								
									f8b8b6e53c
								
							
						
					
					
						commit
						35e208b447
					
				
					 13 changed files with 308 additions and 133 deletions
				
			
		|  | @ -67,6 +67,5 @@ void QtMiiSelector::OpenDialog() { | |||
|              dialog.return_code, index); | ||||
| 
 | ||||
|     const auto mii_data = dialog.miis.at(index); | ||||
|     Finalize(dialog.return_code, | ||||
|              dialog.return_code == 0 ? std::move(mii_data) : HLE::Applets::MiiData{}); | ||||
|     Finalize(dialog.return_code, dialog.return_code == 0 ? std::move(mii_data) : Mii::MiiData{}); | ||||
| } | ||||
|  |  | |||
|  | @ -24,7 +24,7 @@ private: | |||
|     QVBoxLayout* layout; | ||||
|     QtMiiSelector* mii_selector; | ||||
|     u32 return_code = 0; | ||||
|     std::vector<HLE::Applets::MiiData> miis; | ||||
|     std::vector<Mii::MiiData> miis; | ||||
| 
 | ||||
|     friend class QtMiiSelector; | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue