GUI/rsx capture: Disable capturing if no game is running!

This commit is contained in:
Eladash 2020-03-12 21:19:55 +02:00 committed by Megamouse
parent c04abac630
commit 28e9cade2c

View File

@ -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();