mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	updated APT_U::GetLockHandle to return a valid handle
This commit is contained in:
		
							parent
							
								
									0b1ba2f37a
								
							
						
					
					
						commit
						540a693eae
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -19,7 +19,11 @@ void Initialize(Service::Interface* self) { | |||
| 
 | ||||
| void GetLockHandle(Service::Interface* self) { | ||||
|     u32* cmd_buff = Service::GetCommandBuffer(); | ||||
|     cmd_buff[5] = 0x00000000; // TODO: This should be an actual mutex handle
 | ||||
|     u32 flags = cmd_buff[1]; | ||||
| 
 | ||||
|     // TODO: This should be an actual mutex handle. Games will check that this is not non-zero 
 | ||||
|     // (NULL), and fail if such. A faked non-zero value will at least enable further booting. 
 | ||||
|     cmd_buff[5] = 0xDEADBEEF; | ||||
| } | ||||
| 
 | ||||
| const Interface::FunctionInfo FunctionTable[] = { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue