citra-emu
/
citra
Archived
1
0
Fork 0

citra-qt: Load Disk Resources

This commit is contained in:
James Rowe 2019-09-07 16:15:05 -06:00
parent d03d201482
commit d418f0438d
1 changed files with 7 additions and 0 deletions

View File

@ -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<u32>(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.