Fix ss crash on game menu, fix ss on windowed mode
This commit is contained in:
parent
52882a93a5
commit
fa4d6df4c5
3 changed files with 7 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue