mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
fix for VINT while DMA is running
This commit is contained in:
parent
91f5fbe89b
commit
478a1164fe
1 changed files with 2 additions and 1 deletions
|
@ -191,7 +191,8 @@ static int PicoFrameHints(void)
|
||||||
pv->status |= SR_F;
|
pv->status |= SR_F;
|
||||||
pv->pending_ints |= 0x20;
|
pv->pending_ints |= 0x20;
|
||||||
if (pv->reg[1] & 0x20) {
|
if (pv->reg[1] & 0x20) {
|
||||||
SekExecM68k(11); // HACK
|
if (Pico.t.m68c_cnt - Pico.t.m68c_aim < 60) // CPU blocked?
|
||||||
|
SekExecM68k(11); // HACK
|
||||||
elprintf(EL_INTS, "vint: @ %06x [%u]", SekPc, SekCyclesDone());
|
elprintf(EL_INTS, "vint: @ %06x [%u]", SekPc, SekCyclesDone());
|
||||||
SekInterrupt(6);
|
SekInterrupt(6);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue