mirror of
https://github.com/starr-dusT/citra.git
synced 2024-10-02 10:26:17 -07: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
@ -98,7 +98,7 @@ u64 ARM_Interpreter::GetTicks() const {
|
||||
* @param num_instructions Number of instructions to executes
|
||||
*/
|
||||
void ARM_Interpreter::ExecuteInstructions(int num_instructions) {
|
||||
state->NumInstrsToExecute = num_instructions;
|
||||
state->NumInstrsToExecute = num_instructions - 1;
|
||||
ARMul_Emulate32(state);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user