Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
f446178223
@ -233,6 +233,7 @@ D3DPRESENT_PARAMETERS* pPresentationParameters_RT9;
|
||||
uintptr_t d3dcall;
|
||||
void __stdcall D3D9CreateParamPatch()
|
||||
{
|
||||
#if _M_IX86
|
||||
__asm mov d3dcall , edx
|
||||
__asm mov edx, [ebp + 0x1c]
|
||||
__asm mov pPresentationParameters_RT9 , edx
|
||||
@ -243,6 +244,7 @@ void __stdcall D3D9CreateParamPatch()
|
||||
__asm mov edx , pPresentationParameters_RT9
|
||||
__asm mov [ebp + 0x1c], edx
|
||||
__asm mov edx , d3dcall
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user