diff options
author | Ameer <aj662@drexel.edu> | 2020-07-08 21:15:49 -0400 |
---|---|---|
committer | Ameer <aj662@drexel.edu> | 2020-07-08 21:15:49 -0400 |
commit | 4489ea6f532a501ca4cc379d8d8fb50ce1af27d7 (patch) | |
tree | 52f62331d39f338f6ae6d0fd56831bdd577943a9 /src/yuzu/main.cpp | |
parent | b57475887be5879347d5fda425676d0bd2e2a3d3 (diff) | |
parent | 5311b562aa3c619dca9a1a14d0a2b16281a45cc1 (diff) |
Rebase to master, fix merge conflicts
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index fb299a39b..9844e4764 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -753,7 +753,7 @@ void GMainWindow::InitializeHotkeys() { }); connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("Capture Screenshot"), this), &QShortcut::activated, this, [&] { - if (emu_thread->IsRunning()) { + if (emu_thread != nullptr && emu_thread->IsRunning()) { OnCaptureScreenshot(); } }); |