summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-04-23 18:58:41 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 17:36:11 +0200
commit71f1c0f9f9aa92200fbc6c173a3305fcb5a0c85d (patch)
treef97dfc365975933a79bd7e06510942270931f9fe /src/core
parentCore: Split Microprofile Dynarmic timing per Core (diff)
downloadyuzu-71f1c0f9f9aa92200fbc6c173a3305fcb5a0c85d.tar
yuzu-71f1c0f9f9aa92200fbc6c173a3305fcb5a0c85d.tar.gz
yuzu-71f1c0f9f9aa92200fbc6c173a3305fcb5a0c85d.tar.bz2
yuzu-71f1c0f9f9aa92200fbc6c173a3305fcb5a0c85d.tar.lz
yuzu-71f1c0f9f9aa92200fbc6c173a3305fcb5a0c85d.tar.xz
yuzu-71f1c0f9f9aa92200fbc6c173a3305fcb5a0c85d.tar.zst
yuzu-71f1c0f9f9aa92200fbc6c173a3305fcb5a0c85d.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core_timing.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp
index 032b29e33..1aa89a1cc 100644
--- a/src/core/core_timing.cpp
+++ b/src/core/core_timing.cpp
@@ -56,6 +56,7 @@ void CoreTiming::ThreadEntry(CoreTiming& instance) {
void CoreTiming::Initialize(std::function<void(void)>&& on_thread_init_) {
on_thread_init = std::move(on_thread_init_);
event_fifo_id = 0;
+ shutting_down = false;
ticks = 0;
const auto empty_timed_callback = [](u64, s64) {};
ev_lost = CreateEvent("_lost_event", empty_timed_callback);
@@ -79,6 +80,7 @@ void CoreTiming::Shutdown() {
void CoreTiming::Pause(bool is_paused) {
paused = is_paused;
+ pause_event.Set();
}
void CoreTiming::SyncPause(bool is_paused) {