qt: fix 'Pause' menu item (#9497)

This commit is contained in:
liamwhite 2022-12-23 21:44:53 -05:00 committed by GitHub
parent 201733d1b5
commit c86e21abe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public:
* @return True if the emulation thread is running, otherwise false * @return True if the emulation thread is running, otherwise false
*/ */
bool IsRunning() const { bool IsRunning() const {
return m_is_running.load(); return m_is_running.load() || m_should_run;
} }
/** /**