From faf83225dc93ef5fc26b961e2d8bcb73dd987e30 Mon Sep 17 00:00:00 2001 From: 00C0FFEE <49476850+00C0FFEE@users.noreply.github.com> Date: Mon, 2 Nov 2020 07:47:32 +0100 Subject: [PATCH] Update WindowedDx9.cpp --- OpenParrot/src/Functions/WindowedDx9.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenParrot/src/Functions/WindowedDx9.cpp b/OpenParrot/src/Functions/WindowedDx9.cpp index 91cbb67..b1728d9 100644 --- a/OpenParrot/src/Functions/WindowedDx9.cpp +++ b/OpenParrot/src/Functions/WindowedDx9.cpp @@ -84,7 +84,7 @@ extern linb::ini config; static InitFunction initFunc([]() { - if (GameDetect::currentGame == GameID::BG4 || GameDetect::currentGame == GameID::BG4_Eng || GameDetect::currentGame == GameID::JLeague || GameDetect::currentGame == GameID::TER || GameDetect::currentGame == GameID::RumbleFish2 || GameDetect::currentGame == GameID::DirtyDrivin)) + if (GameDetect::currentGame == GameID::BG4 || GameDetect::currentGame == GameID::BG4_Eng || GameDetect::currentGame == GameID::JLeague || GameDetect::currentGame == GameID::TER || GameDetect::currentGame == GameID::RumbleFish2 || GameDetect::currentGame == GameID::DirtyDrivin) return; if (GameDetect::currentGame == GameID::TroubleWitches && !ToBool(config["General"]["Windowed"])) { @@ -95,4 +95,4 @@ static InitFunction initFunc([]() InitD3D9WindowHook(); } }); -#pragma optimize("", on) \ No newline at end of file +#pragma optimize("", on)