mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-03 16:39:01 -06:00 
			
		
		
		
	apt: load shared font from system archive
This commit is contained in:
		
							
								
								
									
										22
									
								
								src/core/hle/romfs.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								src/core/hle/romfs.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
// Copyright 2017 Citra Emulator Project
 | 
			
		||||
// Licensed under GPLv2 or any later version
 | 
			
		||||
// Refer to the license.txt file included.
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include <string>
 | 
			
		||||
#include <vector>
 | 
			
		||||
#include "common/common_types.h"
 | 
			
		||||
 | 
			
		||||
namespace RomFS {
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Gets the pointer to a file in a RomFS image.
 | 
			
		||||
 * @param romfs The pointer to the RomFS image
 | 
			
		||||
 * @param path A vector containing the directory names and file name of the path to the file
 | 
			
		||||
 * @return the pointer to the file
 | 
			
		||||
 * @todo reimplement this with a full RomFS manager
 | 
			
		||||
 */
 | 
			
		||||
const u8* GetFilePointer(const u8* romfs, const std::vector<std::u16string>& path);
 | 
			
		||||
 | 
			
		||||
} // namespace RomFS
 | 
			
		||||
		Reference in New Issue
	
	Block a user