sao: properly disable dongle emulation

This commit is contained in:
Hay1tsme 2024-04-03 15:29:15 -04:00
parent 7de3f6db46
commit db71d3a0f6
1 changed files with 8 additions and 6 deletions

View File

@ -64,12 +64,14 @@ HRESULT systype_hook_init(const struct systype_config *sys_cfg, const struct es3
systype_kernel32_syms,
_countof(systype_kernel32_syms));
proc_addr_table_push(
NULL,
"nbamUsbFinder_sup.dll",
procaddr_dong_syms,
_countof(procaddr_dong_syms)
);
if (dong_cfg->enable) {
proc_addr_table_push(
NULL,
"nbamUsbFinder_sup.dll",
procaddr_dong_syms,
_countof(procaddr_dong_syms)
);
}
dprintf("Systype: Init\n");
return hr;