diff options
author | bunnei <bunneidev@gmail.com> | 2023-06-22 06:12:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-22 06:12:46 +0200 |
commit | e3122c5b468fd59b7eded5a3a7300643d05616bc (patch) | |
tree | 3fe4c2c0bea83f3bb8849ef8839b9520873d41c2 /src/core/hle/service/nvnflinger/nvnflinger.cpp | |
parent | Merge pull request #10777 from liamwhite/no-barrier (diff) | |
parent | nvdisp: Fix SingleCore frametime reporting (diff) | |
download | yuzu-e3122c5b468fd59b7eded5a3a7300643d05616bc.tar yuzu-e3122c5b468fd59b7eded5a3a7300643d05616bc.tar.gz yuzu-e3122c5b468fd59b7eded5a3a7300643d05616bc.tar.bz2 yuzu-e3122c5b468fd59b7eded5a3a7300643d05616bc.tar.lz yuzu-e3122c5b468fd59b7eded5a3a7300643d05616bc.tar.xz yuzu-e3122c5b468fd59b7eded5a3a7300643d05616bc.tar.zst yuzu-e3122c5b468fd59b7eded5a3a7300643d05616bc.zip |
Diffstat (limited to 'src/core/hle/service/nvnflinger/nvnflinger.cpp')
-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 da2d5890f..b41c6240c 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()); }); |