From d418f0438d6568a1d304723100bcadc544bab367 Mon Sep 17 00:00:00 2001 From: James Rowe Date: Sat, 7 Sep 2019 16:15:05 -0600 Subject: [PATCH] citra-qt: Load Disk Resources --- src/citra_qt/bootmanager.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp index 719059dd5..f28fcdf10 100644 --- a/src/citra_qt/bootmanager.cpp +++ b/src/citra_qt/bootmanager.cpp @@ -45,6 +45,13 @@ static GMainWindow* GetMainWindow() { void EmuThread::run() { MicroProfileOnThreadCreate("EmuThread"); Frontend::ScopeAcquireContext scope(core_context); + + Core::System::GetInstance().Renderer().Rasterizer()->LoadDiskResources( + stop_run, [this](VideoCore::LoadCallbackStage stage, std::size_t value, std::size_t total) { + LOG_DEBUG(Frontend, "Loading stage {} progress {} {}", static_cast(stage), value, + total); + }); + // Holds whether the cpu was running during the last iteration, // so that the DebugModeLeft signal can be emitted before the // next execution step.