mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	svc: added stub for DuplicateHandle SVC call
This commit is contained in:
		
							parent
							
								
									51f636b3d4
								
							
						
					
					
						commit
						15d2ab1b33
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		|  | @ -226,6 +226,13 @@ Result CreateEvent(void* _event, u32 reset_type) { | ||||||
|     return 0; |     return 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | /// Duplicates a kernel handle
 | ||||||
|  | Result DuplicateHandle(void* _out, Handle handle) { | ||||||
|  |     Handle* out = (Handle*)_out; | ||||||
|  |     DEBUG_LOG(SVC, "(UNIMPLEMENTED) DuplicateHandle called handle=0x%08X", handle); | ||||||
|  |     return 0; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| const HLE::FunctionDef SVC_Table[] = { | const HLE::FunctionDef SVC_Table[] = { | ||||||
|     {0x00,  NULL,                                       "Unknown"}, |     {0x00,  NULL,                                       "Unknown"}, | ||||||
|     {0x01,  WrapI_VUUUUU<ControlMemory>,                "ControlMemory"}, |     {0x01,  WrapI_VUUUUU<ControlMemory>,                "ControlMemory"}, | ||||||
|  | @ -266,7 +273,7 @@ const HLE::FunctionDef SVC_Table[] = { | ||||||
|     {0x24,  WrapI_US64<WaitSynchronization1>,           "WaitSynchronization1"}, |     {0x24,  WrapI_US64<WaitSynchronization1>,           "WaitSynchronization1"}, | ||||||
|     {0x25,  WrapI_VVUUS64<WaitSynchronizationN>,        "WaitSynchronizationN"}, |     {0x25,  WrapI_VVUUS64<WaitSynchronizationN>,        "WaitSynchronizationN"}, | ||||||
|     {0x26,  NULL,                                       "SignalAndWait"}, |     {0x26,  NULL,                                       "SignalAndWait"}, | ||||||
|     {0x27,  NULL,                                       "DuplicateHandle"}, |     {0x27,  WrapI_VU<DuplicateHandle>,                  "DuplicateHandle"}, | ||||||
|     {0x28,  NULL,                                       "GetSystemTick"}, |     {0x28,  NULL,                                       "GetSystemTick"}, | ||||||
|     {0x29,  NULL,                                       "GetHandleInfo"}, |     {0x29,  NULL,                                       "GetHandleInfo"}, | ||||||
|     {0x2A,  NULL,                                       "GetSystemInfo"}, |     {0x2A,  NULL,                                       "GetSystemInfo"}, | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue