summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar James Rowe2020-03-24 22:57:36 -0600
committerGravatar James Rowe2020-03-25 23:32:42 -0600
commitcf9c94d4017120b618194a720942ef4e5c8289bd (patch)
tree30cbea0216626e3a1db1a68120b54e6bd53804f5 /src/core/core.cpp
parentFrontend/GPU: Refactor context management (diff)
downloadyuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar.gz
yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar.xz
yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.zip
Address review and fix broken yuzu-tester build
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 6cc4a0812..26a580cb7 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -169,6 +169,9 @@ struct System::Impl {
169 169
170 interrupt_manager = std::make_unique<Core::Hardware::InterruptManager>(system); 170 interrupt_manager = std::make_unique<Core::Hardware::InterruptManager>(system);
171 gpu_core = VideoCore::CreateGPU(emu_window, system); 171 gpu_core = VideoCore::CreateGPU(emu_window, system);
172 if (!gpu_core) {
173 return ResultStatus::ErrorVideoCore;
174 }
172 gpu_core->Renderer().Rasterizer().SetupDirtyFlags(); 175 gpu_core->Renderer().Rasterizer().SetupDirtyFlags();
173 176
174 is_powered_on = true; 177 is_powered_on = true;
@@ -181,7 +184,6 @@ struct System::Impl {
181 184
182 ResultStatus Load(System& system, Frontend::EmuWindow& emu_window, 185 ResultStatus Load(System& system, Frontend::EmuWindow& emu_window,
183 const std::string& filepath) { 186 const std::string& filepath) {
184
185 app_loader = Loader::GetLoader(GetGameFileFromPath(virtual_filesystem, filepath)); 187 app_loader = Loader::GetLoader(GetGameFileFromPath(virtual_filesystem, filepath));
186 if (!app_loader) { 188 if (!app_loader) {
187 LOG_CRITICAL(Core, "Failed to obtain loader for {}!", filepath); 189 LOG_CRITICAL(Core, "Failed to obtain loader for {}!", filepath);