Fix cycle count (gbatek: Execution Time: If condition=false: 1S cycle)

This commit is contained in:
gocha 2009-09-05 09:10:38 +00:00
parent 0b704f27a2
commit 68313ef467
1 changed files with 2 additions and 0 deletions

View File

@ -536,6 +536,8 @@ u32 armcpu_exec()
else
c += arm_instructions_set_1[INSTRUCTION_INDEX(ARMPROC.instruction)]();
}
else
c++;
#ifdef GDB_STUB
if ( ARMPROC.post_ex_fn != NULL) {
/* call the external post execute function */