GPU: Fix blitter ticks not being counted
Fixes Monkey Hero, again...
This commit is contained in:
parent
4c2597acf3
commit
452c6e16d1
|
@ -289,7 +289,8 @@ void GPU::DMAWrite(const u32* words, u32 word_count)
|
||||||
|
|
||||||
if (m_state == State::WritingVRAM)
|
if (m_state == State::WritingVRAM)
|
||||||
{
|
{
|
||||||
m_blitter_ticks += word_count;
|
Assert(m_blitter_ticks == 0);
|
||||||
|
m_blitter_ticks = GetPendingGPUTicks() + word_count;
|
||||||
UpdateDMARequest();
|
UpdateDMARequest();
|
||||||
UpdateSliceTicks();
|
UpdateSliceTicks();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue