early-access version 3649

This commit is contained in:
pineappleEA
2023-06-08 17:56:30 +02:00
parent f0a3664d7e
commit 8967a0437b
21 changed files with 211 additions and 50 deletions

View File

@@ -325,6 +325,10 @@ s64 Nvnflinger::GetNextTicks() const {
speed_scale = 0.01f;
}
}
if (system.GetNVDECActive() && settings.use_video_framerate.GetValue()) {
// Run at intended presentation rate during video playback.
speed_scale = 1.f;
}
// As an extension, treat nonpositive swap interval as framerate multiplier.
const f32 effective_fps = swap_interval <= 0 ? 120.f * static_cast<f32>(1 - swap_interval)