diff --git a/common/board/config.c b/common/board/config.c index be98ebe..a36d7c2 100644 --- a/common/board/config.c +++ b/common/board/config.c @@ -92,7 +92,7 @@ void io4_config_load(struct io4_config *cfg, const wchar_t *filename) assert(filename != NULL); cfg->enable = GetPrivateProfileIntW(L"io4", L"enable", 1, filename); - cfg->foreground_only = GetPrivateProfileIntW(L"io4", L"foreground", 0, filename); + cfg->foreground_only = GetPrivateProfileIntW(L"io4", L"foreground", 1, filename); } void vfd_config_load(struct vfd_config *cfg, const wchar_t *filename) diff --git a/common/platform/ewf.h b/common/platform/ewf.h index 5ab71f5..958a88d 100644 --- a/common/platform/ewf.h +++ b/common/platform/ewf.h @@ -3,7 +3,6 @@ #include #include -#include #define EWF_MAX_VIRTUAL_FILES 255 #define EWF_DEFAULT_FILE_BUFFER_SIZE 1024 diff --git a/common/platform/meson.build b/common/platform/meson.build index 8f90208..331ea0e 100644 --- a/common/platform/meson.build +++ b/common/platform/meson.build @@ -4,7 +4,6 @@ platform_lib = static_library( implicit_include_directories : false, dependencies : [ capnhook.get_variable('hook_dep'), - capnhook.get_variable('hooklib_dep'), shlwapi_lib, bcrypt_lib, ], diff --git a/common/platform/platform.h b/common/platform/platform.h index 0f01eaf..76e639e 100644 --- a/common/platform/platform.h +++ b/common/platform/platform.h @@ -2,7 +2,7 @@ #include -#include "ewf.h" +#include "platform/ewf.h" #include "platform/amvideo.h" #include "platform/clock.h" #include "platform/dns.h" diff --git a/games/idachook/io4.c b/games/idachook/io4.c index fa4f82b..a803600 100644 --- a/games/idachook/io4.c +++ b/games/idachook/io4.c @@ -43,7 +43,7 @@ HRESULT idac_io4_hook_init(const struct io4_config* cfg) { assert(idac_dll.init != NULL); - hr = io4_hook_init(cfg, &idac_io4_ops, NULL, L"GameProject", false); + hr = io4_hook_init(cfg, &idac_io4_ops, NULL, L"GameProject", true); if (FAILED(hr)) { return hr; diff --git a/games/swdchook/io4.c b/games/swdchook/io4.c index 1d3ffcf..2f5381a 100644 --- a/games/swdchook/io4.c +++ b/games/swdchook/io4.c @@ -32,7 +32,7 @@ HRESULT swdc_io4_hook_init(const struct io4_config* cfg) { assert(swdc_dll.init != NULL); - hr = io4_hook_init(cfg, &swdc_io4_ops, NULL, L"Todoroki", false); + hr = io4_hook_init(cfg, &swdc_io4_ops, NULL, L"Todoroki", true); if (FAILED(hr)) { return hr;