From 68313ef467be514a8299ef82d752c7266170e68e Mon Sep 17 00:00:00 2001 From: gocha Date: Sat, 5 Sep 2009 09:10:38 +0000 Subject: [PATCH] Fix cycle count (gbatek: Execution Time: If condition=false: 1S cycle) --- desmume/src/armcpu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desmume/src/armcpu.cpp b/desmume/src/armcpu.cpp index 247c610c4..60a8382c1 100644 --- a/desmume/src/armcpu.cpp +++ b/desmume/src/armcpu.cpp @@ -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 */