mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-20 14:34:17 +00:00
citra-qt: Load Disk Resources
This commit is contained in:
parent
d03d201482
commit
d418f0438d
1 changed files with 7 additions and 0 deletions
|
@ -45,6 +45,13 @@ static GMainWindow* GetMainWindow() {
|
||||||
void EmuThread::run() {
|
void EmuThread::run() {
|
||||||
MicroProfileOnThreadCreate("EmuThread");
|
MicroProfileOnThreadCreate("EmuThread");
|
||||||
Frontend::ScopeAcquireContext scope(core_context);
|
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,
|
// Holds whether the cpu was running during the last iteration,
|
||||||
// so that the DebugModeLeft signal can be emitted before the
|
// so that the DebugModeLeft signal can be emitted before the
|
||||||
// next execution step.
|
// next execution step.
|
||||||
|
|
Loading…
Reference in a new issue