mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	SVC: hide details in pimpl
This commit is contained in:
		
							parent
							
								
									aec8b1e375
								
							
						
					
					
						commit
						c57ee36222
					
				
					 4 changed files with 143 additions and 129 deletions
				
			
		|  | @ -158,7 +158,7 @@ public: | |||
| 
 | ||||
|     ARM_Dynarmic& parent; | ||||
|     Core::Timing& timing; | ||||
|     Kernel::SVC svc_context; | ||||
|     Kernel::SVCContext svc_context; | ||||
| }; | ||||
| 
 | ||||
| ARM_Dynarmic::ARM_Dynarmic(Core::System& system, PrivilegeMode initial_mode) | ||||
|  |  | |||
|  | @ -3864,7 +3864,7 @@ SWI_INST : { | |||
|         cpu->NumInstrsToExecute = | ||||
|             num_instrs >= cpu->NumInstrsToExecute ? 0 : cpu->NumInstrsToExecute - num_instrs; | ||||
|         num_instrs = 0; | ||||
|         Kernel::SVC{Core::System::GetInstance()}.CallSVC(inst_cream->num & 0xFFFF); | ||||
|         Kernel::SVCContext{Core::System::GetInstance()}.CallSVC(inst_cream->num & 0xFFFF); | ||||
|         // The kernel would call ERET to get here, which clears exclusive memory state.
 | ||||
|         cpu->UnsetExclusiveMemoryAddress(); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue