Fix some Daytona3 and APM3
Fix some Daytona3 and APM3
This commit is contained in:
parent
167cb87ee8
commit
6373c099ed
@ -1223,4 +1223,12 @@ static InitFunction initFuncDengekiBunkoFC([]()
|
||||
|
||||
}, GameID::DengekiBunkoFC);
|
||||
|
||||
static InitFunction initFuncBladeStrangesAPM3([]()
|
||||
{
|
||||
HookAPM3(L"SDFD");
|
||||
|
||||
DWORD_PTR mainModuleBase = (DWORD_PTR)GetModuleHandle(0);
|
||||
|
||||
}, GameID::BladeStrangesAPM3);
|
||||
|
||||
#endif
|
||||
|
@ -339,6 +339,10 @@ static InitFunction Daytona3Func([]()
|
||||
{
|
||||
SetCursorPos(20000, 20000);
|
||||
}
|
||||
else
|
||||
{
|
||||
injector::MakeNOP(0x004DBB62, 8);
|
||||
}
|
||||
|
||||
std::string FFBDeadzoneString = config["General"]["FFB Deadzone Percent"];
|
||||
int FFBDeadzone = std::stoi(FFBDeadzoneString);
|
||||
|
@ -2,7 +2,6 @@
|
||||
#define D3D11_NO_HELPERS
|
||||
#define INITGUID
|
||||
#include <StdInc.h>
|
||||
#ifdef _M_AMD64
|
||||
#include "Utility/InitFunction.h"
|
||||
#pragma optimize("", off)
|
||||
|
||||
@ -284,6 +283,11 @@ static InitFunction initFunc([]()
|
||||
if (GameDetect::currentGame == GameID::PokkenTournament || GameDetect::currentGame == GameID::PokkenTournament26 || GameDetect::currentGame == GameID::SchoolOfRagnarok || GameDetect::currentGame == GameID::TER || GameDetect::currentGame == GameID::Tekken7Update00 || GameDetect::currentGame == GameID::SFV)
|
||||
return;
|
||||
|
||||
#ifndef _M_AMD64
|
||||
// Hook only Daytona on x86 for now
|
||||
if (GameDetect::currentGame != GameID::Daytona3)
|
||||
return;
|
||||
#endif
|
||||
// Make local variables for speed
|
||||
Windowed = ToBool(config["General"]["Windowed"]);
|
||||
|
||||
@ -304,5 +308,4 @@ static InitFunction initFunc([]()
|
||||
|
||||
if (Windowed || FpsLimiterEnable || DisableVSync)
|
||||
InitDXGIWindowHook();
|
||||
});
|
||||
#endif
|
||||
});
|
@ -651,6 +651,9 @@ void GameDetect::DetectCurrentGame()
|
||||
case 0xcf741456: // Update 1
|
||||
SetGameId(GameID::DengekiBunkoFC, "Dengeki Bunko: Fighting Climax");
|
||||
break;
|
||||
case 0xd8dd1127:
|
||||
SetGameId(GameID::BladeStrangesAPM3, "Blade Strangers APM3");
|
||||
break;
|
||||
#endif
|
||||
#ifdef _AMD64_
|
||||
case 0xf322d053:
|
||||
|
@ -131,5 +131,6 @@ enum class GameID
|
||||
Kasiori,
|
||||
GGXRd,
|
||||
BlazBlueCrossTagBattle,
|
||||
DengekiBunkoFC
|
||||
DengekiBunkoFC,
|
||||
BladeStrangesAPM3
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user