diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-06-11 23:56:36 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-07-05 21:49:25 +0200 |
commit | 61697864c3c8abc35ce957f5f0a0dacd7a8e96f9 (patch) | |
tree | 108edd3ba77b2fce395acf256186dfa7e72a2cf4 /src/core/hle/service | |
parent | nv_services: Fixes to event liberation. (diff) | |
download | yuzu-61697864c3c8abc35ce957f5f0a0dacd7a8e96f9.tar yuzu-61697864c3c8abc35ce957f5f0a0dacd7a8e96f9.tar.gz yuzu-61697864c3c8abc35ce957f5f0a0dacd7a8e96f9.tar.bz2 yuzu-61697864c3c8abc35ce957f5f0a0dacd7a8e96f9.tar.lz yuzu-61697864c3c8abc35ce957f5f0a0dacd7a8e96f9.tar.xz yuzu-61697864c3c8abc35ce957f5f0a0dacd7a8e96f9.tar.zst yuzu-61697864c3c8abc35ce957f5f0a0dacd7a8e96f9.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp index 6d83535e7..a7937b490 100644 --- a/src/core/hle/service/nvflinger/nvflinger.cpp +++ b/src/core/hle/service/nvflinger/nvflinger.cpp @@ -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); }); |