mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-16 17:08:24 +01:00
Moved hooks calls and added hook retry
With that change, I no longer re-hook rendering functions as Hook_Manager::FoundRenderer removes all hooks and then we hook the true functions in the renderer specialization. Added a retry count.
This commit is contained in:
parent
5b0306dccc
commit
ca0ef4380a
8 changed files with 83 additions and 106 deletions
|
|
@ -14,6 +14,9 @@ bool DX12_Hook::start_hook()
|
|||
{
|
||||
if (!_hooked)
|
||||
{
|
||||
//if (!Windows_Hook::Inst().start_hook())
|
||||
// return false;
|
||||
|
||||
PRINT_DEBUG("Hooked DirectX 12\n");
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue