summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-06-11 17:56:36 -0400
committerFernandoS27 <fsahmkow27@gmail.com>2019-07-05 15:49:25 -0400
commit61697864c3c8abc35ce957f5f0a0dacd7a8e96f9 (patch)
tree108edd3ba77b2fce395acf256186dfa7e72a2cf4 /src
parentefdeab3a1d5735a8b000241f09ba57e9b981204b (diff)
nvflinger: Make the force 30 fps still force 30 fps
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.cpp2
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);
});