md, fix irq priority handling for H-int

This commit is contained in:
kub 2021-04-10 21:31:16 +02:00
parent 6375e62775
commit 02d753e346

View file

@ -67,6 +67,7 @@ static void do_hint(struct PicoVideo *pv)
pv->pending_ints |= 0x10; pv->pending_ints |= 0x10;
if (pv->reg[0] & 0x10) { if (pv->reg[0] & 0x10) {
elprintf(EL_INTS, "hint: @ %06x [%u]", SekPc, SekCyclesDone()); elprintf(EL_INTS, "hint: @ %06x [%u]", SekPc, SekCyclesDone());
if (SekIrqLevel < 4)
SekInterrupt(4); SekInterrupt(4);
} }
} }