Wacca: Add toggle for LED board hooks

This commit is contained in:
Hay1tsme
2023-02-12 20:40:41 -05:00
parent 54089a592f
commit 29ca2dfa7b
6 changed files with 35 additions and 5 deletions

View File

@ -33,8 +33,11 @@ static const struct hook_symbol win32_hooks[] = {
}
};
HRESULT elisabeth_hook_init()
HRESULT elisabeth_hook_init(struct elisabeth_config *cfg)
{
if (!cfg->enable) {
return S_OK;
}
dll_hook_insert_hooks(NULL);
dprintf("Elisabeth: Init\n");
return S_OK;