mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 23:06:23 -05:00
nvflinger: Make the force 30 fps still force 30 fps
This commit is contained in:
parent
efdeab3a1d
commit
61697864c3
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ NVFlinger::NVFlinger(Core::Timing::CoreTiming& core_timing) : core_timing{core_t
|
|||
composition_event = core_timing.RegisterEvent(
|
||||
"ScreenComposition", [this](u64 userdata, s64 cycles_late) {
|
||||
Compose();
|
||||
const auto ticks = GetNextTicks();
|
||||
const auto ticks = Settings::values.force_30fps_mode ? frame_ticks_30fps : GetNextTicks();
|
||||
this->core_timing.ScheduleEvent(std::max(0LL,ticks - cycles_late), composition_event);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue