Merge pull request #10086 from Morph1984/coretiming-ng-1

core_timing: Use CNTPCT as the guest CPU tick
This commit is contained in:
bunnei
2023-06-21 21:12:46 -07:00
committed by GitHub
31 changed files with 283 additions and 432 deletions

View File

@ -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());
});