summaryrefslogtreecommitdiffstats
path: root/src/core/core.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-10-16 01:14:32 +0200
committerGitHub <noreply@github.com>2021-10-16 01:14:32 +0200
commitaef3ae1cb93f962165b1f9596b95e4ffa4a5e9c5 (patch)
tree9ae1d8b30878562389498bd9f3b8ced582b6661d /src/core/core.h
parentMerge pull request #7189 from FearlessTobi/translation-ci (diff)
parentNvHost/Core: Address Feedback. (diff)
downloadyuzu-aef3ae1cb93f962165b1f9596b95e4ffa4a5e9c5.tar
yuzu-aef3ae1cb93f962165b1f9596b95e4ffa4a5e9c5.tar.gz
yuzu-aef3ae1cb93f962165b1f9596b95e4ffa4a5e9c5.tar.bz2
yuzu-aef3ae1cb93f962165b1f9596b95e4ffa4a5e9c5.tar.lz
yuzu-aef3ae1cb93f962165b1f9596b95e4ffa4a5e9c5.tar.xz
yuzu-aef3ae1cb93f962165b1f9596b95e4ffa4a5e9c5.tar.zst
yuzu-aef3ae1cb93f962165b1f9596b95e4ffa4a5e9c5.zip
Diffstat (limited to '')
-rw-r--r--src/core/core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h
index c1234ef77..1cfe1bba6 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -7,6 +7,7 @@
#include <cstddef>
#include <functional>
#include <memory>
+#include <mutex>
#include <string>
#include <vector>
@@ -160,6 +161,9 @@ public:
/// Shutdown the emulated system.
void Shutdown();
+ std::unique_lock<std::mutex> StallCPU();
+ void UnstallCPU();
+
/**
* Load an executable application.
* @param emu_window Reference to the host-system window used for video output and keyboard