From 73c91b7b9aa0b12539cfc21b653ee376042dd15f Mon Sep 17 00:00:00 2001 From: 00C0FFEE <00C0FFEE> Date: Tue, 20 Apr 2021 15:54:59 +0200 Subject: [PATCH 1/2] - Added FPS limiter to all FnF games --- OpenParrot/src/Functions/WindowedDx8.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenParrot/src/Functions/WindowedDx8.cpp b/OpenParrot/src/Functions/WindowedDx8.cpp index d3d2f15..145b25f 100644 --- a/OpenParrot/src/Functions/WindowedDx8.cpp +++ b/OpenParrot/src/Functions/WindowedDx8.cpp @@ -166,7 +166,7 @@ static InitFunction initFunc([]() return; if (GameDetect::currentGame == GameID::TER) return; - if (GameDetect::currentGame == GameID::FNFSC) + if (GameDetect::currentGame == GameID::FNFSC || GameDetect::currentGame == GameID::FNF || GameDetect::currentGame == GameID::FNFDrift || GameDetect::currentGame == GameID::FNFSB || GameDetect::currentGame == GameID::FNFSB2) InitD3D8WindowHook(); if (GameDetect::currentGame == GameID::SnoCross) { From 3e66dce353ac64204b89cd3abeb1df4fad4681c0 Mon Sep 17 00:00:00 2001 From: 00C0FFEE <00C0FFEE> Date: Tue, 20 Apr 2021 16:53:12 +0200 Subject: [PATCH 2/2] -FPS fix for FnF games --- OpenParrot/src/Functions/WindowedDx8.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/OpenParrot/src/Functions/WindowedDx8.cpp b/OpenParrot/src/Functions/WindowedDx8.cpp index 145b25f..5dc8484 100644 --- a/OpenParrot/src/Functions/WindowedDx8.cpp +++ b/OpenParrot/src/Functions/WindowedDx8.cpp @@ -166,8 +166,6 @@ static InitFunction initFunc([]() return; if (GameDetect::currentGame == GameID::TER) return; - if (GameDetect::currentGame == GameID::FNFSC || GameDetect::currentGame == GameID::FNF || GameDetect::currentGame == GameID::FNFDrift || GameDetect::currentGame == GameID::FNFSB || GameDetect::currentGame == GameID::FNFSB2) - InitD3D8WindowHook(); if (GameDetect::currentGame == GameID::SnoCross) { swShaderHack = ToBool(config["General"]["SoftwareVertexShaders"]);