Fix cycle count (gbatek: Execution Time: If condition=false: 1S cycle)
This commit is contained in:
parent
0b704f27a2
commit
68313ef467
|
@ -536,6 +536,8 @@ u32 armcpu_exec()
|
||||||
else
|
else
|
||||||
c += arm_instructions_set_1[INSTRUCTION_INDEX(ARMPROC.instruction)]();
|
c += arm_instructions_set_1[INSTRUCTION_INDEX(ARMPROC.instruction)]();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
c++;
|
||||||
#ifdef GDB_STUB
|
#ifdef GDB_STUB
|
||||||
if ( ARMPROC.post_ex_fn != NULL) {
|
if ( ARMPROC.post_ex_fn != NULL) {
|
||||||
/* call the external post execute function */
|
/* call the external post execute function */
|
||||||
|
|
Loading…
Reference in New Issue