FGO: fix printer hook always being enabled (#60)
that moment when the printer says OK but it absolutely isn't supposed to be OK lmao edit: I'm not sure why the msvc commits are also in all of these PRs, they have no effect though... Reviewed-on: https://gitea.tendokyu.moe/TeamTofuShop/segatools/pulls/60 Co-authored-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com> Co-committed-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>pull/65/head
parent
369fe28687
commit
70c3e2fe0f
|
@ -82,8 +82,10 @@ static DWORD CALLBACK fgo_pre_startup(void)
|
||||||
/* Hook external DLL APIs */
|
/* Hook external DLL APIs */
|
||||||
|
|
||||||
printer_hook_init(&fgo_hook_cfg.printer, 4, fgo_hook_mod);
|
printer_hook_init(&fgo_hook_cfg.printer, 4, fgo_hook_mod);
|
||||||
|
if (fgo_hook_cfg.printer.enable) {
|
||||||
dll_hook_push(fgo_hook_mod, L"C330Ausb.dll");
|
dll_hook_push(fgo_hook_mod, L"C330Ausb.dll");
|
||||||
dll_hook_push(fgo_hook_mod, L"C330AFWDLusb.dll");
|
dll_hook_push(fgo_hook_mod, L"C330AFWDLusb.dll");
|
||||||
|
}
|
||||||
|
|
||||||
/* Initialize emulation hooks */
|
/* Initialize emulation hooks */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue