From: kub Date: Sat, 10 Apr 2021 19:31:16 +0000 (+0200) Subject: md, fix irq priority handling for H-int X-Git-Tag: v2.00~558 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02d753e346d914c0fdd5ac151885bbe87016a7d1;p=picodrive.git md, fix irq priority handling for H-int --- diff --git a/pico/pico_cmn.c b/pico/pico_cmn.c index c5d72278..d1ebe22b 100644 --- a/pico/pico_cmn.c +++ b/pico/pico_cmn.c @@ -67,7 +67,8 @@ static void do_hint(struct PicoVideo *pv) pv->pending_ints |= 0x10; if (pv->reg[0] & 0x10) { elprintf(EL_INTS, "hint: @ %06x [%u]", SekPc, SekCyclesDone()); - SekInterrupt(4); + if (SekIrqLevel < 4) + SekInterrupt(4); } }