Reorder thing.

This commit is contained in:
Jean-Philip Desjardins 2024-07-15 20:22:05 -04:00
parent 4210d0a246
commit 18c8fe7d73

View file

@ -923,10 +923,10 @@ void CPS2VM::EmuThread()
{ {
if(m_hblankTicks <= 0) if(m_hblankTicks <= 0)
{ {
m_hblankTicks += m_hblankTicksTotal;
if(m_ee->m_gs) if(m_ee->m_gs)
{ {
m_ee->m_gs->SetHBlank(); m_ee->m_gs->SetHBlank();
m_hblankTicks += m_hblankTicksTotal;
} }
} }