diff options
author | Liam <byteslice@airmail.cc> | 2024-02-14 22:57:20 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-14 23:03:50 +0100 |
commit | af42482565daf646d89a0a3cd8001a527ab76621 (patch) | |
tree | 3e28818b929f30d13cc190a9203697960bb6db7b /src/core/core.cpp | |
parent | Merge pull request #12996 from german77/settings-ipc (diff) | |
download | yuzu-af42482565daf646d89a0a3cd8001a527ab76621.tar yuzu-af42482565daf646d89a0a3cd8001a527ab76621.tar.gz yuzu-af42482565daf646d89a0a3cd8001a527ab76621.tar.bz2 yuzu-af42482565daf646d89a0a3cd8001a527ab76621.tar.lz yuzu-af42482565daf646d89a0a3cd8001a527ab76621.tar.xz yuzu-af42482565daf646d89a0a3cd8001a527ab76621.tar.zst yuzu-af42482565daf646d89a0a3cd8001a527ab76621.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/core.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 435ef6793..bd5f11d53 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -242,7 +242,7 @@ struct System::Impl { void Run() { std::unique_lock<std::mutex> lk(suspend_guard); - kernel.SuspendApplication(false); + kernel.SuspendEmulation(false); core_timing.SyncPause(false); is_paused.store(false, std::memory_order_relaxed); } @@ -251,7 +251,7 @@ struct System::Impl { std::unique_lock<std::mutex> lk(suspend_guard); core_timing.SyncPause(true); - kernel.SuspendApplication(true); + kernel.SuspendEmulation(true); is_paused.store(true, std::memory_order_relaxed); } @@ -261,7 +261,7 @@ struct System::Impl { std::unique_lock<std::mutex> StallApplication() { std::unique_lock<std::mutex> lk(suspend_guard); - kernel.SuspendApplication(true); + kernel.SuspendEmulation(true); core_timing.SyncPause(true); return lk; } @@ -269,7 +269,7 @@ struct System::Impl { void UnstallApplication() { if (!IsPaused()) { core_timing.SyncPause(false); - kernel.SuspendApplication(false); + kernel.SuspendEmulation(false); } } @@ -459,7 +459,7 @@ struct System::Impl { } Network::CancelPendingSocketOperations(); - kernel.SuspendApplication(true); + kernel.SuspendEmulation(true); if (services) { services->KillNVNFlinger(); } |