mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
spg2xx: Only flag sprite DMA done IRQ if it is enabled. Gets mattelcs to boot. nw
This commit is contained in:
parent
28bc5506be
commit
c929d074dc
@ -688,7 +688,14 @@ void spg2xx_device::do_sprite_dma(uint32_t len)
|
||||
}
|
||||
|
||||
m_video_regs[0x72] = 0;
|
||||
VIDEO_IRQ_STATUS |= 4;
|
||||
if (VIDEO_IRQ_ENABLE & 4)
|
||||
{
|
||||
const uint16_t old = VIDEO_IRQ_STATUS;
|
||||
VIDEO_IRQ_STATUS |= 4;
|
||||
const uint16_t changed = old ^ (VIDEO_IRQ_ENABLE & VIDEO_IRQ_STATUS);
|
||||
if (changed)
|
||||
check_video_irq();
|
||||
}
|
||||
}
|
||||
|
||||
READ16_MEMBER(spg2xx_device::video_r)
|
||||
|
Loading…
Reference in New Issue
Block a user