summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/bootmanager.hxx
diff options
context:
space:
mode:
authorSacha <xsacha@gmail.com>2014-08-24 17:49:34 +0200
committerSacha <xsacha@gmail.com>2014-08-24 17:49:34 +0200
commitb044510fa946f1eab7e3b5917eba518b9631835a (patch)
tree49e6394a403cb4feeedc53df6ed2663b20ca89e3 /src/citra_qt/bootmanager.hxx
parentFix the threading for GL Context in Qt5. (diff)
downloadyuzu-b044510fa946f1eab7e3b5917eba518b9631835a.tar
yuzu-b044510fa946f1eab7e3b5917eba518b9631835a.tar.gz
yuzu-b044510fa946f1eab7e3b5917eba518b9631835a.tar.bz2
yuzu-b044510fa946f1eab7e3b5917eba518b9631835a.tar.lz
yuzu-b044510fa946f1eab7e3b5917eba518b9631835a.tar.xz
yuzu-b044510fa946f1eab7e3b5917eba518b9631835a.tar.zst
yuzu-b044510fa946f1eab7e3b5917eba518b9631835a.zip
Diffstat (limited to 'src/citra_qt/bootmanager.hxx')
-rw-r--r--src/citra_qt/bootmanager.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/citra_qt/bootmanager.hxx b/src/citra_qt/bootmanager.hxx
index c4a4299b1..4c3e2f0a4 100644
--- a/src/citra_qt/bootmanager.hxx
+++ b/src/citra_qt/bootmanager.hxx
@@ -1,3 +1,4 @@
+#include <QMutex>
#include <QThread>
#include <QGLWidget>
#include "common/common.h"
@@ -66,6 +67,8 @@ private:
bool exec_cpu_step;
bool cpu_running;
+ bool stop_run;
+ QMutex mutex;
GRenderWindow* render_window;
@@ -105,7 +108,7 @@ public:
void keyPressEvent(QKeyEvent* event);
void keyReleaseEvent(QKeyEvent* event);
-private slots:
+public slots:
void moveContext();
private: