System: Refactor main loop
Reduces JIT exits. Improves runahead performance.
This commit is contained in:
@ -901,9 +901,10 @@ void GPU::CRTCTickEvent(TickCount ticks)
|
||||
InterruptController::InterruptRequest(InterruptController::IRQ::VBLANK);
|
||||
|
||||
// flush any pending draws and "scan out" the image
|
||||
// TODO: move present in here I guess
|
||||
FlushRender();
|
||||
UpdateDisplay();
|
||||
System::FrameDone();
|
||||
TimingEvents::SetFrameDone();
|
||||
|
||||
// switch fields early. this is needed so we draw to the correct one.
|
||||
if (m_GPUSTAT.InInterleaved480iMode())
|
||||
|
||||
Reference in New Issue
Block a user