1
0
mirror of synced 2025-02-01 04:15:50 +01:00

Update WindowedDx9.cpp

This commit is contained in:
00C0FFEE 2020-11-02 07:47:32 +01:00 committed by GitHub
parent 0babb079cd
commit faf83225dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
#pragma optimize("", on)