switched to new capnhook, updated unityhook, added LED 15093 to MU3

This commit is contained in:
2024-05-12 19:36:08 +02:00
parent 1069cfee26
commit 517469a60c
27 changed files with 406 additions and 186 deletions

View File

@ -8,7 +8,7 @@
#include <pathcch.h>
#include <psapi.h>
#include "hooklib/procaddr.h"
#include "hook/procaddr.h"
#include "util/dprintf.h"
#include "doorstop.h"
@ -37,7 +37,7 @@ void doorstop_mono_hook_init(const struct unity_config *cfg, HINSTANCE module) {
memcpy(&unity_config, cfg, sizeof(*cfg));
load_mono_functions(module);
proc_addr_table_push(module_name, unity_mono_syms, _countof(unity_mono_syms));
proc_addr_table_push(NULL, module_name, unity_mono_syms, _countof(unity_mono_syms));
doorstop_hook_initted = true;
}