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, systype_kernel32_syms,
_countof(systype_kernel32_syms)); _countof(systype_kernel32_syms));
proc_addr_table_push( if (dong_cfg->enable) {
NULL, proc_addr_table_push(
"nbamUsbFinder_sup.dll", NULL,
procaddr_dong_syms, "nbamUsbFinder_sup.dll",
_countof(procaddr_dong_syms) procaddr_dong_syms,
); _countof(procaddr_dong_syms)
);
}
dprintf("Systype: Init\n"); dprintf("Systype: Init\n");
return hr; return hr;