Increase delay from 8 to 12 for signaling syncpts

This commit is contained in:
MaranBr 2025-07-14 20:18:01 -04:00
parent e9ca3f4c06
commit b59eb30ab1

View file

@ -68,7 +68,7 @@ void Nvdec::Execute() {
if (Settings::values.nvdec_emulation.GetValue() == Settings::NvdecEmulation::Off) [[unlikely]] { if (Settings::values.nvdec_emulation.GetValue() == Settings::NvdecEmulation::Off) [[unlikely]] {
// Signalling syncpts too fast can cause games to get stuck as they don't expect a <1ms // Signalling syncpts too fast can cause games to get stuck as they don't expect a <1ms
// execution time. Sleep for half of a 60 fps frame just in case. // execution time. Sleep for half of a 60 fps frame just in case.
std::this_thread::sleep_for(std::chrono::milliseconds(8)); std::this_thread::sleep_for(std::chrono::milliseconds(12));
return; return;
} }
switch (decoder->GetCurrentCodec()) { switch (decoder->GetCurrentCodec()) {