mirror of
https://gitea.tendokyu.moe/Hay1tsme/segatools.git
synced 2026-09-09 20:56:33 -05:00
misc: fix foreground window issues, enable by default
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#include <windows.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#define EWF_MAX_VIRTUAL_FILES 255
|
||||
#define EWF_DEFAULT_FILE_BUFFER_SIZE 1024
|
||||
|
||||
@@ -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,
|
||||
],
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "ewf.h"
|
||||
#include "platform/ewf.h"
|
||||
#include "platform/amvideo.h"
|
||||
#include "platform/clock.h"
|
||||
#include "platform/dns.h"
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user