mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	arm: fixed a bug where ARM_Interpreter::ExecuteInstructions was actually executing one more instruction than expected
This commit is contained in:
		
							parent
							
								
									ce1c561278
								
							
						
					
					
						commit
						6cdad8390c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -98,7 +98,7 @@ u64 ARM_Interpreter::GetTicks() const { | ||||||
|  * @param num_instructions Number of instructions to executes |  * @param num_instructions Number of instructions to executes | ||||||
|  */ |  */ | ||||||
| void ARM_Interpreter::ExecuteInstructions(int num_instructions) { | void ARM_Interpreter::ExecuteInstructions(int num_instructions) { | ||||||
|     state->NumInstrsToExecute = num_instructions; |     state->NumInstrsToExecute = num_instructions - 1; | ||||||
|     ARMul_Emulate32(state); |     ARMul_Emulate32(state); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue