diff options
author | James Rowe <jroweboy@gmail.com> | 2020-03-25 05:57:36 +0100 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2020-03-26 06:32:42 +0100 |
commit | cf9c94d4017120b618194a720942ef4e5c8289bd (patch) | |
tree | 30cbea0216626e3a1db1a68120b54e6bd53804f5 /src/video_core/video_core.cpp | |
parent | Frontend/GPU: Refactor context management (diff) | |
download | yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar.gz yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar.bz2 yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar.lz yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar.xz yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.tar.zst yuzu-cf9c94d4017120b618194a720942ef4e5c8289bd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/video_core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/video_core.cpp b/src/video_core/video_core.cpp index fd9fec018..f60bdc60a 100644 --- a/src/video_core/video_core.cpp +++ b/src/video_core/video_core.cpp @@ -30,7 +30,7 @@ std::unique_ptr<VideoCore::RendererBase> CreateRenderer(Core::Frontend::EmuWindo return nullptr; } } -} // namespace +} // Anonymous namespace namespace VideoCore { @@ -39,7 +39,7 @@ std::unique_ptr<Tegra::GPU> CreateGPU(Core::Frontend::EmuWindow& emu_window, Cor const auto scope = context->Acquire(); auto renderer = CreateRenderer(emu_window, system, *context); if (!renderer->Init()) { - return {}; + return nullptr; } if (Settings::values.use_asynchronous_gpu_emulation) { |