mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 12:55:45 +00:00
Increase delay from 8 to 12 for signaling syncpts
This commit is contained in:
parent
e9ca3f4c06
commit
b59eb30ab1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue