Refactor d3d9
This commit is contained in:
@@ -33,6 +33,10 @@ static bool my_dll_entry_main(void);
|
||||
bool standard_def;
|
||||
bool _15khz;
|
||||
|
||||
static const hook_d3d9_irp_handler_t ddrhook2_d3d9_handlers[] = {
|
||||
gfx_d3d9_irp_handler,
|
||||
};
|
||||
|
||||
static bool my_dll_entry_init(char *sidcode, struct property_node *param)
|
||||
{
|
||||
int argc;
|
||||
@@ -93,6 +97,8 @@ static bool my_dll_entry_init(char *sidcode, struct property_node *param)
|
||||
iohook_push_handler(com4_dispatch_irp);
|
||||
}
|
||||
|
||||
hook_d3d9_init(ddrhook2_d3d9_handlers, lengthof(ddrhook2_d3d9_handlers));
|
||||
|
||||
rs232_hook_init();
|
||||
|
||||
ddrhook2_master_insert_hooks(NULL);
|
||||
|
||||
Reference in New Issue
Block a user