diff options
Diffstat (limited to 'target-sh4')
-rw-r--r-- | target-sh4/helper.c | 2 | ||||
-rw-r--r-- | target-sh4/translate.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target-sh4/helper.c b/target-sh4/helper.c index d4e0a842a8..7f5430abcb 100644 --- a/target-sh4/helper.c +++ b/target-sh4/helper.c @@ -105,7 +105,7 @@ void do_interrupt(CPUState * env) } } - if (loglevel & CPU_LOG_INT) { + if (qemu_loglevel_mask(CPU_LOG_INT)) { const char *expname; switch (env->exception_index) { case 0x0e0: diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 0f48bf130f..9137e38014 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -1937,7 +1937,7 @@ gen_intermediate_code_internal(CPUState * env, TranslationBlock * tb, #ifdef SH4_DEBUG_DISAS qemu_log_mask(CPU_LOG_TB_IN_ASM, "\n"); #endif - if (loglevel & CPU_LOG_TB_IN_ASM) { + if (qemu_loglevel_mask(CPU_LOG_TB_IN_ASM)) { qemu_log("IN:\n"); /* , lookup_symbol(pc_start)); */ log_target_disas(pc_start, ctx.pc - pc_start, 0); qemu_log("\n"); |