summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/bootmanager.hxx
diff options
context:
space:
mode:
authorSacha <xsacha@gmail.com>2014-08-24 19:42:52 +0200
committerSacha <xsacha@gmail.com>2014-08-24 19:42:52 +0200
commit1b1205cf739d0913dd474779245fd59dccbf2fcf (patch)
tree64505f9f1dbe1d10b8b15661db8f2dc191d8ca98 /src/citra_qt/bootmanager.hxx
parentFix EmuThread loop by ensuring it exits properly. (diff)
downloadyuzu-1b1205cf739d0913dd474779245fd59dccbf2fcf.tar
yuzu-1b1205cf739d0913dd474779245fd59dccbf2fcf.tar.gz
yuzu-1b1205cf739d0913dd474779245fd59dccbf2fcf.tar.bz2
yuzu-1b1205cf739d0913dd474779245fd59dccbf2fcf.tar.lz
yuzu-1b1205cf739d0913dd474779245fd59dccbf2fcf.tar.xz
yuzu-1b1205cf739d0913dd474779245fd59dccbf2fcf.tar.zst
yuzu-1b1205cf739d0913dd474779245fd59dccbf2fcf.zip
Diffstat (limited to 'src/citra_qt/bootmanager.hxx')
-rw-r--r--src/citra_qt/bootmanager.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/citra_qt/bootmanager.hxx b/src/citra_qt/bootmanager.hxx
index 4c3e2f0a4..51cb781e9 100644
--- a/src/citra_qt/bootmanager.hxx
+++ b/src/citra_qt/bootmanager.hxx
@@ -1,6 +1,6 @@
-#include <QMutex>
#include <QThread>
#include <QGLWidget>
+#include <atomic>
#include "common/common.h"
#include "common/emu_window.h"
@@ -67,8 +67,7 @@ private:
bool exec_cpu_step;
bool cpu_running;
- bool stop_run;
- QMutex mutex;
+ std::atomic<bool> stop_run;
GRenderWindow* render_window;