Browse Source

Increase delay from 8 to 12 for signaling syncpts

pull/69/head
MaranBr 8 months ago
parent
commit
b59eb30ab1
  1. 2
      src/video_core/host1x/nvdec.cpp

2
src/video_core/host1x/nvdec.cpp

@ -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()) {

Loading…
Cancel
Save