Revision 833ed386 target-sh4/helper.c

b/target-sh4/helper.c
87 87
        if (do_exp && env->exception_index != 0x1e0) {
88 88
            env->exception_index = 0x000; /* masked exception -> reset */
89 89
        }
90
        if (do_irq) {
90
        if (do_irq && !env->intr_at_halt) {
91 91
            return; /* masked */
92 92
        }
93
        env->intr_at_halt = 0;
93 94
    }
94 95

  
95 96
    if (do_irq) {

Also available in: Unified diff