summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-01-15 16:28:42 -0300
committerGravatar ReinUsesLisp2019-02-06 22:23:40 -0300
commit7fefec585c805fa09951da11890bb90afb8a42a9 (patch)
tree739d06767d869ff1f0678aa20cb076a465521744 /src/core
parentgl_shader_disk_cache: Guard reads and writes against failure (diff)
downloadyuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.gz
yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.tar.xz
yuzu-7fefec585c805fa09951da11890bb90afb8a42a9.zip
gl_shader_disk_cache: Pass core system as argument and guard against games without title ids
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index c8d7c442a..1d71312aa 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -123,7 +123,7 @@ struct System::Impl {
123 Service::Init(service_manager, *virtual_filesystem); 123 Service::Init(service_manager, *virtual_filesystem);
124 GDBStub::Init(); 124 GDBStub::Init();
125 125
126 renderer = VideoCore::CreateRenderer(emu_window); 126 renderer = VideoCore::CreateRenderer(emu_window, system);
127 if (!renderer->Init()) { 127 if (!renderer->Init()) {
128 return ResultStatus::ErrorVideoCore; 128 return ResultStatus::ErrorVideoCore;
129 } 129 }