GPU: Fix parameters not applying on startup

This commit is contained in:
Connor McLaughlin 2020-05-14 01:24:39 +10:00
parent d461d7c87a
commit c0ea35ccdc

View file

@ -33,6 +33,8 @@ bool GPU::Initialize(HostDisplay* host_display, System* system, DMA* dma, Interr
Settings::GetDisplayAspectRatioValue(m_system->GetSettings().display_aspect_ratio); Settings::GetDisplayAspectRatioValue(m_system->GetSettings().display_aspect_ratio);
m_tick_event = m_tick_event =
m_system->CreateTimingEvent("GPU Tick", 1, 1, std::bind(&GPU::Execute, this, std::placeholders::_1), true); m_system->CreateTimingEvent("GPU Tick", 1, 1, std::bind(&GPU::Execute, this, std::placeholders::_1), true);
m_fifo_size = system->GetSettings().gpu_fifo_size;
m_max_run_ahead = system->GetSettings().gpu_max_run_ahead;
return true; return true;
} }