update procaddr hook
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
#include "cxbhook/led.h"
|
||||
#include "cxbhook/cxb-dll.h"
|
||||
|
||||
#include "hooklib/procaddr.h"
|
||||
#include "hook/procaddr.h"
|
||||
|
||||
#include "hook/table.h"
|
||||
|
||||
@ -50,7 +50,7 @@ static struct hook_symbol lamp_syms[] = {
|
||||
HRESULT led_hook_init(struct led_config *cfg)
|
||||
{
|
||||
dprintf("LED: Init\n");
|
||||
return proc_addr_table_push("CommLamp.dll", lamp_syms, _countof(lamp_syms));
|
||||
return proc_addr_table_push(NULL, "CommLamp.dll", lamp_syms, _countof(lamp_syms));
|
||||
}
|
||||
|
||||
static int my_cCommLamp_Open(char *port)
|
||||
|
Reference in New Issue
Block a user