aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/video_core.cpp
diff options
context:
space:
mode:
authorlat9nq <lat9nq@gmail.com>2022-03-07 01:39:16 -0500
committerlat9nq <lat9nq@gmail.com>2022-03-07 15:25:20 -0500
commit7df809b8b135421da4a85fc19e8f52e9a11a9988 (patch)
tree80943b6d490d7e99ae71681555ec89d44829cdb5 /src/video_core/video_core.cpp
parent7d636e10d73ce1c6962a9f10327aee02bd882086 (diff)
core: Don't shutdown a null GPU
When CreateGPU fails, yuzu would try and shutdown the GPU instance regardless of whether any instance was actually created. Check for nullptr before calling its methods to prevent a crash.
Diffstat (limited to 'src/video_core/video_core.cpp')
0 files changed, 0 insertions, 0 deletions