summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/src/bootmanager.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/citra_qt/src/bootmanager.hxx')
-rw-r--r--src/citra_qt/src/bootmanager.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/citra_qt/src/bootmanager.hxx b/src/citra_qt/src/bootmanager.hxx
index 943945961..b3aa1cf30 100644
--- a/src/citra_qt/src/bootmanager.hxx
+++ b/src/citra_qt/src/bootmanager.hxx
@@ -40,6 +40,14 @@ public:
*/
void SetCpuRunning(bool running) { cpu_running = running; }
+ /**
+ * Allow the CPU to continue processing instructions without interruption
+ *
+ * @note This function is thread-safe
+ */
+ bool IsCpuRunning() { return cpu_running; }
+
+
public slots:
/**
* Stop emulation and wait for the thread to finish.