From 1b1205cf739d0913dd474779245fd59dccbf2fcf Mon Sep 17 00:00:00 2001 From: Sacha Date: Mon, 25 Aug 2014 03:42:52 +1000 Subject: Pass format to the QGLWidget and use atomic instead of mutex. --- src/citra_qt/bootmanager.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/citra_qt/bootmanager.hxx') 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 #include #include +#include #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 stop_run; GRenderWindow* render_window; -- cgit v1.2.3