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

View file

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