diff options
author | Sacha <xsacha@gmail.com> | 2014-08-24 17:49:34 +0200 |
---|---|---|
committer | Sacha <xsacha@gmail.com> | 2014-08-24 17:49:34 +0200 |
commit | b044510fa946f1eab7e3b5917eba518b9631835a (patch) | |
tree | 49e6394a403cb4feeedc53df6ed2663b20ca89e3 /src/citra_qt/bootmanager.hxx | |
parent | Fix the threading for GL Context in Qt5. (diff) | |
download | yuzu-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.hxx | 5 |
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: |