mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix small mistake
Input hooking must be done during SDK init, only DX should be initialized later due to late binding of game pointers.
This commit is contained in:
parent
f0512d7f92
commit
fd5d09d843
@ -51,6 +51,10 @@ void SDK_Init()
|
||||
|
||||
Systems_Init();
|
||||
WinSys_Attach();
|
||||
|
||||
#ifndef DEDICATED
|
||||
Input_Init();
|
||||
#endif // !DEDICATED
|
||||
}
|
||||
|
||||
//#############################################################################
|
||||
|
@ -97,7 +97,6 @@ bool CModAppSystemGroup::Create(CModAppSystemGroup* pModAppSystemGroup)
|
||||
CSuggest(map.first, map.second->GetFlags()));
|
||||
}
|
||||
|
||||
Input_Init();
|
||||
DirectX_Init();
|
||||
|
||||
#endif // !DEDICATED
|
||||
|
@ -50,8 +50,8 @@ class VApplication : public IDetour
|
||||
{
|
||||
LogFunAdr("CModAppSystemGroup::Main", p_CModAppSystemGroup_Main.GetPtr());
|
||||
LogFunAdr("CModAppSystemGroup::Create", p_CModAppSystemGroup_Create.GetPtr());
|
||||
LogFunAdr("CSourceAppSystemGroup::Create", p_CSourceAppSystemGroup__Create.GetPtr());
|
||||
LogFunAdr("CSourceAppSystemGroup::PreInit", p_CSourceAppSystemGroup__PreInit.GetPtr());
|
||||
LogFunAdr("CSourceAppSystemGroup::Create", p_CSourceAppSystemGroup__Create.GetPtr());
|
||||
}
|
||||
virtual void GetFun(void) const
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user