From 866c64a298ade2659611338796b542917249ccb4 Mon Sep 17 00:00:00 2001 From: nyanpasu64 Date: Wed, 5 Jul 2023 20:06:25 -0700 Subject: [PATCH] Render earlier to avoid dropped frames --- Source/Core/VideoCommon/PendingTimeOffset.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/PendingTimeOffset.h b/Source/Core/VideoCommon/PendingTimeOffset.h index 0e43880274..2fa64fcc56 100644 --- a/Source/Core/VideoCommon/PendingTimeOffset.h +++ b/Source/Core/VideoCommon/PendingTimeOffset.h @@ -4,7 +4,9 @@ #include "Common/CommonTypes.h" -constexpr u64 TARGET_VSYNC_BLOCK_US = 2'000; +// Setting this value too low will cause repeated dropped frames +// as emulation constantly slows down too late for vsync. +constexpr u64 TARGET_VSYNC_BLOCK_US = 4'000; struct PendingTimeOffset {