mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	Fix clang-format and unused include
This commit is contained in:
		
							parent
							
								
									fd7ada2a9c
								
							
						
					
					
						commit
						e14b9f7a25
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -321,10 +321,11 @@ bool CIAFile::Close() const {
 | 
			
		|||
            // If the file to delete is the current launched rom, signal the system to delete
 | 
			
		||||
            // the current rom instead of deleting it now, once all the handles to the file
 | 
			
		||||
            // are closed.
 | 
			
		||||
            std::string toDelete = GetTitleContentPath(media_type, old_tmd.GetTitleID(), old_index);
 | 
			
		||||
            std::string to_delete =
 | 
			
		||||
                GetTitleContentPath(media_type, old_tmd.GetTitleID(), old_index);
 | 
			
		||||
            if (!(Core::System::GetInstance().IsPoweredOn() &&
 | 
			
		||||
                  Core::System::GetInstance().SetSelfDelete(toDelete)))
 | 
			
		||||
                FileUtil::Delete(toDelete);
 | 
			
		||||
                  Core::System::GetInstance().SetSelfDelete(to_delete)))
 | 
			
		||||
                FileUtil::Delete(to_delete);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        FileUtil::Delete(old_tmd_path);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue