Merge pull request #349 from diamante0018/aaaaaaaa
[Scheduler] Fix hook
This commit is contained in:
commit
fa98263fe5
@ -67,9 +67,9 @@ namespace Components
|
|||||||
Pipelines[type].execute();
|
Pipelines[type].execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Scheduler::CL_DrawScreen_Hk()
|
void Scheduler::ScrPlace_EndFrame_Hk()
|
||||||
{
|
{
|
||||||
Utils::Hook::Call<void()>(0x5AC950)();
|
Utils::Hook::Call<void()>(0x4AA720)();
|
||||||
Execute(Pipeline::RENDERER);
|
Execute(Pipeline::RENDERER);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -165,7 +165,7 @@ namespace Components
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
Utils::Hook(0x5ACB99, CL_DrawScreen_Hk, HOOK_CALL).install()->quick();
|
Utils::Hook(0x5ACB9E, ScrPlace_EndFrame_Hk, HOOK_CALL).install()->quick();
|
||||||
|
|
||||||
// Hook G_Glass_Update so we may fix TLS issues
|
// Hook G_Glass_Update so we may fix TLS issues
|
||||||
Utils::Hook(0x416049, ServerFrame_Hk, HOOK_CALL).install()->quick();
|
Utils::Hook(0x416049, ServerFrame_Hk, HOOK_CALL).install()->quick();
|
||||||
|
@ -59,7 +59,7 @@ namespace Components
|
|||||||
|
|
||||||
static void Execute(Pipeline type);
|
static void Execute(Pipeline type);
|
||||||
|
|
||||||
static void CL_DrawScreen_Hk();
|
static void ScrPlace_EndFrame_Hk();
|
||||||
static void ServerFrame_Hk();
|
static void ServerFrame_Hk();
|
||||||
static void ClientFrame_Hk(int localClientNum);
|
static void ClientFrame_Hk(int localClientNum);
|
||||||
static void MainFrame_Hk();
|
static void MainFrame_Hk();
|
||||||
|
Loading…
Reference in New Issue
Block a user