diff --git a/src/arm/arm.c b/src/arm/arm.c index 113917070..c47492b50 100644 --- a/src/arm/arm.c +++ b/src/arm/arm.c @@ -106,6 +106,7 @@ void ARMReset(struct ARMCore* cpu) { cpu->executionMode = MODE_THUMB; _ARMSetMode(cpu, MODE_ARM); + int currentCycles = 0; ARM_WRITE_PC; cpu->cycles = 0;