mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	sdmc_factory: Add accessor for content directory
This commit is contained in:
		
							parent
							
								
									49c44e3fae
								
							
						
					
					
						commit
						02b36b0eb5
					
				@ -22,6 +22,10 @@ ResultVal<VirtualDir> SDMCFactory::Open() {
 | 
			
		||||
    return MakeResult<VirtualDir>(dir);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
VirtualDir SDMCFactory::GetSDMCContentDirectory() const {
 | 
			
		||||
    return GetOrCreateDirectoryRelative(dir, "/Nintendo/Contents");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
RegisteredCache* SDMCFactory::GetSDMCContents() const {
 | 
			
		||||
    return contents.get();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -19,6 +19,9 @@ public:
 | 
			
		||||
    ~SDMCFactory();
 | 
			
		||||
 | 
			
		||||
    ResultVal<VirtualDir> Open();
 | 
			
		||||
 | 
			
		||||
    VirtualDir GetSDMCContentDirectory() const;
 | 
			
		||||
 | 
			
		||||
    RegisteredCache* GetSDMCContents() const;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user