GPU: Run draw clock at sysclk * 2
This commit is contained in:
@ -182,8 +182,8 @@ u32 Timers::ReadRegister(u32 offset)
|
||||
if (timer_index < 2 && cs.external_counting_enabled)
|
||||
{
|
||||
// timers 0/1 depend on the GPU
|
||||
if (timer_index == 0 || m_gpu->IsRasterScanlinePending())
|
||||
m_gpu->Synchronize();
|
||||
if (timer_index == 0 || m_gpu->IsCRTCScanlinePending())
|
||||
m_gpu->SynchronizeCRTC();
|
||||
}
|
||||
|
||||
m_sysclk_event->InvokeEarly();
|
||||
@ -196,8 +196,8 @@ u32 Timers::ReadRegister(u32 offset)
|
||||
if (timer_index < 2 && cs.external_counting_enabled)
|
||||
{
|
||||
// timers 0/1 depend on the GPU
|
||||
if (timer_index == 0 || m_gpu->IsRasterScanlinePending())
|
||||
m_gpu->Synchronize();
|
||||
if (timer_index == 0 || m_gpu->IsCRTCScanlinePending())
|
||||
m_gpu->SynchronizeCRTC();
|
||||
}
|
||||
|
||||
m_sysclk_event->InvokeEarly();
|
||||
@ -227,8 +227,8 @@ void Timers::WriteRegister(u32 offset, u32 value)
|
||||
if (timer_index < 2 && cs.external_counting_enabled)
|
||||
{
|
||||
// timers 0/1 depend on the GPU
|
||||
if (timer_index == 0 || m_gpu->IsRasterScanlinePending())
|
||||
m_gpu->Synchronize();
|
||||
if (timer_index == 0 || m_gpu->IsCRTCScanlinePending())
|
||||
m_gpu->SynchronizeCRTC();
|
||||
}
|
||||
|
||||
m_sysclk_event->InvokeEarly();
|
||||
|
||||
Reference in New Issue
Block a user