mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	dynarmic: Add ticks based on ticks executed, not ticks requested
This commit is contained in:
		
							parent
							
								
									ed2ff8df85
								
							
						
					
					
						commit
						27be446049
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -131,9 +131,9 @@ MICROPROFILE_DEFINE(ARM_Jit, "ARM JIT", "ARM JIT", MP_RGB(255, 64, 64)); | ||||||
| void ARM_Dynarmic::ExecuteInstructions(int num_instructions) { | void ARM_Dynarmic::ExecuteInstructions(int num_instructions) { | ||||||
|     MICROPROFILE_SCOPE(ARM_Jit); |     MICROPROFILE_SCOPE(ARM_Jit); | ||||||
| 
 | 
 | ||||||
|     jit->Run(static_cast<unsigned>(num_instructions)); |     unsigned ticks_executed = jit->Run(static_cast<unsigned>(num_instructions)); | ||||||
| 
 | 
 | ||||||
|     AddTicks(num_instructions); |     AddTicks(ticks_executed); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void ARM_Dynarmic::SaveContext(Core::ThreadContext& ctx) { | void ARM_Dynarmic::SaveContext(Core::ThreadContext& ctx) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue