GPU: Fix blitter ticks not being counted

Fixes Monkey Hero, again...
This commit is contained in:
Connor McLaughlin 2020-03-24 00:21:42 +10:00
parent 4c2597acf3
commit 452c6e16d1
1 changed files with 2 additions and 1 deletions

View File

@ -289,7 +289,8 @@ void GPU::DMAWrite(const u32* words, u32 word_count)
if (m_state == State::WritingVRAM)
{
m_blitter_ticks += word_count;
Assert(m_blitter_ticks == 0);
m_blitter_ticks = GetPendingGPUTicks() + word_count;
UpdateDMARequest();
UpdateSliceTicks();
}