diff options
author | lat9nq <lat9nq@gmail.com> | 2022-03-07 09:37:54 +0100 |
---|---|---|
committer | lat9nq <lat9nq@gmail.com> | 2022-03-08 00:21:56 +0100 |
commit | b5e60ae1b0568d6c9e47134dd2bda70906a2dad9 (patch) | |
tree | 93c23176ccbc92e7340262a7279edbe2f3888d1c /src/video_core/video_core.cpp | |
parent | emu_window: Create a way to Cancel the exit of a Scoped (diff) | |
download | yuzu-b5e60ae1b0568d6c9e47134dd2bda70906a2dad9.tar yuzu-b5e60ae1b0568d6c9e47134dd2bda70906a2dad9.tar.gz yuzu-b5e60ae1b0568d6c9e47134dd2bda70906a2dad9.tar.bz2 yuzu-b5e60ae1b0568d6c9e47134dd2bda70906a2dad9.tar.lz yuzu-b5e60ae1b0568d6c9e47134dd2bda70906a2dad9.tar.xz yuzu-b5e60ae1b0568d6c9e47134dd2bda70906a2dad9.tar.zst yuzu-b5e60ae1b0568d6c9e47134dd2bda70906a2dad9.zip |
Diffstat (limited to 'src/video_core/video_core.cpp')
-rw-r--r-- | src/video_core/video_core.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/video_core.cpp b/src/video_core/video_core.cpp index 329bf4def..2f2594585 100644 --- a/src/video_core/video_core.cpp +++ b/src/video_core/video_core.cpp @@ -50,6 +50,7 @@ std::unique_ptr<Tegra::GPU> CreateGPU(Core::Frontend::EmuWindow& emu_window, Cor gpu->BindRenderer(std::move(renderer)); return gpu; } catch (const std::runtime_error& exception) { + scope.Cancel(); LOG_ERROR(HW_GPU, "Failed to initialize GPU: {}", exception.what()); return nullptr; } |