Sfoglia il codice sorgente

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

liamwhite 3 anni fa
parent
commit
c86e21abe4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/yuzu/bootmanager.h

+ 1 - 1
src/yuzu/bootmanager.h

@@ -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;
     }
 
     /**