mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	HLE/FS: Use PopEnum in OpenFile.
This commit is contained in:
		
							parent
							
								
									d790ac465c
								
							
						
					
					
						commit
						2552efac01
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		|  | @ -69,10 +69,9 @@ static void OpenFile(Service::Interface* self) { | |||
|     rp.Pop<u32>(); // Always 0 ?
 | ||||
| 
 | ||||
|     ArchiveHandle archive_handle = rp.Pop<u64>(); | ||||
|     auto filename_type = static_cast<FileSys::LowPathType>(rp.Pop<u32>()); | ||||
|     auto filename_type = rp.PopEnum<FileSys::LowPathType>(); | ||||
|     u32 filename_size = rp.Pop<u32>(); | ||||
|     FileSys::Mode mode; | ||||
|     mode.hex = rp.Pop<u32>(); | ||||
|     FileSys::Mode mode{rp.Pop<u32>()}; | ||||
|     u32 attributes = rp.Pop<u32>(); // TODO(Link Mauve): do something with those attributes.
 | ||||
|     VAddr filename_ptr = rp.PopStaticBuffer(nullptr); | ||||
|     FileSys::Path file_path(filename_type, filename_size, filename_ptr); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue