mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-04-21 21:52:06 +02:00
Fix hooks not working
Even if dxgi is hooked, it will not be rehooked, HookDXGIPresent has a check, but different dx versions need a call to loadFunctions.
This commit is contained in:
parent
f22828d858
commit
1dc5bcc5c1
1 changed files with 3 additions and 3 deletions
|
@ -271,7 +271,7 @@ void Renderer_Detector::hook_dx9()
|
|||
|
||||
void Renderer_Detector::hook_dx10()
|
||||
{
|
||||
if (!_dxgi_hooked && !_renderer_found)
|
||||
if (!_dx10_hooked && !_renderer_found)
|
||||
{
|
||||
create_hwnd();
|
||||
if (dummy_hWnd == nullptr)
|
||||
|
@ -324,7 +324,7 @@ void Renderer_Detector::hook_dx10()
|
|||
|
||||
void Renderer_Detector::hook_dx11()
|
||||
{
|
||||
if (!_dxgi_hooked && !_renderer_found)
|
||||
if (!_dx11_hooked && !_renderer_found)
|
||||
{
|
||||
create_hwnd();
|
||||
if (dummy_hWnd == nullptr)
|
||||
|
@ -378,7 +378,7 @@ void Renderer_Detector::hook_dx11()
|
|||
|
||||
void Renderer_Detector::hook_dx12()
|
||||
{
|
||||
if (!_dxgi_hooked && !_renderer_found)
|
||||
if (!_dx12_hooked && !_renderer_found)
|
||||
{
|
||||
create_hwnd();
|
||||
if (dummy_hWnd == nullptr)
|
||||
|
|
Loading…
Add table
Reference in a new issue