mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	CFG: Implemented the GetConfigInfoBlk2 function.
Added a "config" file to the CFG process service (CFG:U), and added a few default blocks to it. Implemented GetSystemModel and GetModelNintendo2DS
This commit is contained in:
		
							parent
							
								
									0de6a08d75
								
							
						
					
					
						commit
						fa3d72ab3e
					
				
					 5 changed files with 197 additions and 15 deletions
				
			
		| 
						 | 
				
			
			@ -428,15 +428,6 @@ void ArchiveInit() {
 | 
			
		|||
        CreateArchive(std::move(sdmc_archive), ArchiveIdCode::SDMC);
 | 
			
		||||
    else
 | 
			
		||||
        LOG_ERROR(Service_FS, "Can't instantiate SDMC archive with path %s", sdmc_directory.c_str());
 | 
			
		||||
 | 
			
		||||
    std::string systemsavedata_directory = FileUtil::GetUserPath(D_SYSSAVEDATA_IDX);
 | 
			
		||||
    auto systemsavedata_archive = Common::make_unique<FileSys::Archive_SDMC>(systemsavedata_directory);
 | 
			
		||||
    if (systemsavedata_archive->Initialize()) {
 | 
			
		||||
        CreateArchive(std::move(systemsavedata_archive), ArchiveIdCode::SystemSaveData);
 | 
			
		||||
    } else {
 | 
			
		||||
        LOG_ERROR(Service_FS, "Can't instantiate SystemSaveData archive with path %s",
 | 
			
		||||
            systemsavedata_directory.c_str());
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/// Shutdown archives
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue