mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-16 08:58:24 +01:00
Added error handling when hook fails
This commit is contained in:
parent
71d3e301c2
commit
d06fbba104
12 changed files with 122 additions and 43 deletions
|
|
@ -21,7 +21,6 @@ private:
|
|||
DX9_Hook();
|
||||
virtual ~DX9_Hook();
|
||||
|
||||
void start_hook();
|
||||
void resetRenderState();
|
||||
void prepareForOverlay(IDirect3DDevice9* pDevice);
|
||||
|
||||
|
|
@ -44,7 +43,8 @@ private:
|
|||
//decltype(Direct3DCreate9Ex)* Direct3DCreate9Ex;
|
||||
|
||||
public:
|
||||
static void Create(); // Initialize DX9 Hook.
|
||||
bool start_hook();
|
||||
static DX9_Hook* Inst();
|
||||
|
||||
void loadFunctions(IDirect3DDevice9Ex *pDeviceEx);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue