From 28e9cade2cf9899e7cd34190fa39a7372caafd13 Mon Sep 17 00:00:00 2001 From: Eladash Date: Thu, 12 Mar 2020 21:19:55 +0200 Subject: [PATCH] GUI/rsx capture: Disable capturing if no game is running! --- rpcs3/rpcs3qt/debugger_frame.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpcs3/rpcs3qt/debugger_frame.cpp b/rpcs3/rpcs3qt/debugger_frame.cpp index 4d0a64d6f7..b54e92c54b 100644 --- a/rpcs3/rpcs3qt/debugger_frame.cpp +++ b/rpcs3/rpcs3qt/debugger_frame.cpp @@ -282,6 +282,8 @@ void debugger_frame::UpdateUI() { UpdateUnitList(); + m_btn_capture->setEnabled(Emu.IsRunning() || Emu.IsPaused()); + if (m_no_thread_selected) return; const auto cpu = this->cpu.lock();