mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-04 07:38:47 +00:00 
			
		
		
		
	Archives: Change the folder layout of some archives.
This is to better represent the hardware layout, they are still aren't quite accurate, but this better and will help a bit when implementing the other archives like NAND-RO and NAND-RW
This commit is contained in:
		
							parent
							
								
									031237e52c
								
							
						
					
					
						commit
						3bc9f5509b
					
				
					 6 changed files with 27 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -455,7 +455,7 @@ void ArchiveInit() {
 | 
			
		|||
    else
 | 
			
		||||
        LOG_ERROR(Service_FS, "Can't instantiate ExtSaveData archive with path %s", extsavedata_directory.c_str());
 | 
			
		||||
 | 
			
		||||
    std::string sharedextsavedata_directory = FileUtil::GetUserPath(D_EXTSAVEDATA);
 | 
			
		||||
    std::string sharedextsavedata_directory = FileUtil::GetUserPath(D_SHAREDEXTSAVEDATA);
 | 
			
		||||
    auto sharedextsavedata_archive = Common::make_unique<FileSys::Archive_ExtSaveData>(sharedextsavedata_directory);
 | 
			
		||||
    if (sharedextsavedata_archive->Initialize())
 | 
			
		||||
        CreateArchive(std::move(sharedextsavedata_archive), ArchiveIdCode::SharedExtSaveData);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -142,7 +142,7 @@ Interface::Interface() {
 | 
			
		|||
    Register(FunctionTable, ARRAY_SIZE(FunctionTable));
 | 
			
		||||
    // Create the SharedExtSaveData archive 0xF000000B and the gamecoin.dat file
 | 
			
		||||
    // TODO(Subv): In the future we should use the FS service to query this archive
 | 
			
		||||
    std::string extsavedata_directory = FileUtil::GetUserPath(D_EXTSAVEDATA);
 | 
			
		||||
    std::string extsavedata_directory = FileUtil::GetUserPath(D_SHAREDEXTSAVEDATA);
 | 
			
		||||
    ptm_shared_extsavedata = Common::make_unique<FileSys::Archive_ExtSaveData>(extsavedata_directory);
 | 
			
		||||
    if (!ptm_shared_extsavedata->Initialize()) {
 | 
			
		||||
        LOG_CRITICAL(Service_PTM, "Could not initialize ExtSaveData archive for the PTM:U service");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue