diff options
Diffstat (limited to 'target-sh4')
-rw-r--r-- | target-sh4/translate.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 4ced176b3a..aa3b9d4396 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -1967,9 +1967,8 @@ gen_intermediate_code_internal(CPUState * env, TranslationBlock * tb, break; if (num_insns >= max_insns) break; -#ifdef SH4_SINGLE_STEP - break; -#endif + if (singlestep) + break; } if (tb->cflags & CF_LAST_IO) gen_io_end(); |