MDEC: Only set DMA request when there is actually data to write

This commit is contained in:
Connor McLaughlin
2019-10-08 19:27:22 +10:00
parent 75eee533df
commit 2f8edd1812
3 changed files with 32 additions and 18 deletions

View File

@ -198,7 +198,7 @@ u32 GPU::ReadRegister(u32 offset)
{
// Bit 31 of GPUSTAT is always clear during vblank.
u32 bits = m_GPUSTAT.bits;
// bits &= (BoolToUInt32(!m_crtc_state.in_vblank) << 31);
bits &= ~(BoolToUInt32(!m_crtc_state.in_vblank) << 31);
return bits;
}