diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-09-10 04:28:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-10 04:28:54 +0200 |
commit | 663ea382dae4b0a8d958753fb370416b1602c55e (patch) | |
tree | 74db3117e649cb5ae1a265c69f68d2bb03b9d542 /src/yuzu_cmd | |
parent | Merge pull request #4635 from lioncash/gc-adap (diff) | |
parent | video_core: Remove all Core::System references in renderer (diff) | |
download | yuzu-663ea382dae4b0a8d958753fb370416b1602c55e.tar yuzu-663ea382dae4b0a8d958753fb370416b1602c55e.tar.gz yuzu-663ea382dae4b0a8d958753fb370416b1602c55e.tar.bz2 yuzu-663ea382dae4b0a8d958753fb370416b1602c55e.tar.lz yuzu-663ea382dae4b0a8d958753fb370416b1602c55e.tar.xz yuzu-663ea382dae4b0a8d958753fb370416b1602c55e.tar.zst yuzu-663ea382dae4b0a8d958753fb370416b1602c55e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index 4f00c804d..e960b5413 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp @@ -26,6 +26,7 @@ #include "core/file_sys/registered_cache.h" #include "core/file_sys/vfs_real.h" #include "core/gdbstub/gdbstub.h" +#include "core/hle/kernel/process.h" #include "core/hle/service/filesystem/filesystem.h" #include "core/loader/loader.h" #include "core/settings.h" @@ -235,7 +236,9 @@ int main(int argc, char** argv) { // Core is loaded, start the GPU (makes the GPU contexts current to this thread) system.GPU().Start(); - system.Renderer().Rasterizer().LoadDiskResources(); + system.Renderer().Rasterizer().LoadDiskResources( + system.CurrentProcess()->GetTitleID(), false, + [](VideoCore::LoadCallbackStage, size_t value, size_t total) {}); std::thread render_thread([&emu_window] { emu_window->Present(); }); system.Run(); |