diff --git a/src/citra/citra.cpp b/src/citra/citra.cpp index debc54b1c2..ce06b31b7f 100644 --- a/src/citra/citra.cpp +++ b/src/citra/citra.cpp @@ -43,7 +43,7 @@ #include "core/movie.h" #include "core/settings.h" #include "network/network.h" -#include "video_core/video_core.h" +#include "video_core/renderer_base.h" #undef _UNICODE #include @@ -413,6 +413,14 @@ int main(int argc, char** argv) { } std::thread render_thread([&emu_window] { emu_window->Present(); }); + + std::atomic_bool stop_run; + Core::System::GetInstance().Renderer().Rasterizer()->LoadDiskResources( + stop_run, [](VideoCore::LoadCallbackStage stage, std::size_t value, std::size_t total) { + LOG_DEBUG(Frontend, "Loading stage {} progress {} {}", static_cast(stage), value, + total); + }); + while (emu_window->IsOpen()) { system.RunLoop(); }