diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-04-23 05:58:27 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-06-08 03:44:42 +0200 |
commit | bbd502f67adb17b00b33f1b7158cfff2b2fa8a3e (patch) | |
tree | d34669136f2d05a196fc583c250eae3a54dc95aa /src/core/hle | |
parent | (wall, native)_clock: Rework NativeClock (diff) | |
download | yuzu-bbd502f67adb17b00b33f1b7158cfff2b2fa8a3e.tar yuzu-bbd502f67adb17b00b33f1b7158cfff2b2fa8a3e.tar.gz yuzu-bbd502f67adb17b00b33f1b7158cfff2b2fa8a3e.tar.bz2 yuzu-bbd502f67adb17b00b33f1b7158cfff2b2fa8a3e.tar.lz yuzu-bbd502f67adb17b00b33f1b7158cfff2b2fa8a3e.tar.xz yuzu-bbd502f67adb17b00b33f1b7158cfff2b2fa8a3e.tar.zst yuzu-bbd502f67adb17b00b33f1b7158cfff2b2fa8a3e.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/service/nvnflinger/nvnflinger.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/nvnflinger/nvnflinger.cpp b/src/core/hle/service/nvnflinger/nvnflinger.cpp index 4988e6e17..aa3356611 100644 --- a/src/core/hle/service/nvnflinger/nvnflinger.cpp +++ b/src/core/hle/service/nvnflinger/nvnflinger.cpp @@ -70,7 +70,8 @@ Nvnflinger::Nvnflinger(Core::System& system_, HosBinderDriverServer& hos_binder_ [this](std::uintptr_t, s64 time, std::chrono::nanoseconds ns_late) -> std::optional<std::chrono::nanoseconds> { vsync_signal.store(true); - vsync_signal.notify_all(); + { const auto lock_guard = Lock(); } + vsync_signal.notify_one(); return std::chrono::nanoseconds(GetNextTicks()); }); |