From bb01e131e9530550e2e0d020bf84693afa63b958 Mon Sep 17 00:00:00 2001 From: Dniel97 Date: Sun, 27 Jul 2025 18:06:58 +0200 Subject: [PATCH] [epay]: hook enabled by default --- common/platform/config.c | 2 +- dist/apm3/segatools.ini | 8 ++------ doc/config/common.md | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/common/platform/config.c b/common/platform/config.c index c9777da..adc6451 100644 --- a/common/platform/config.c +++ b/common/platform/config.c @@ -360,5 +360,5 @@ void epay_config_load(struct epay_config *cfg, const wchar_t *filename) assert(filename != NULL); cfg->enable = GetPrivateProfileIntW(L"epay", L"enable", 1, filename); - cfg->hook = GetPrivateProfileIntW(L"epay", L"hook", 0, filename); + cfg->hook = GetPrivateProfileIntW(L"epay", L"hook", 1, filename); } diff --git a/dist/apm3/segatools.ini b/dist/apm3/segatools.ini index 6fff9ae..74bdd12 100644 --- a/dist/apm3/segatools.ini +++ b/dist/apm3/segatools.ini @@ -118,14 +118,10 @@ targetAssembly= [mount] ; Enables W: drive mapping instead of using .vhd files enable=1 -; Delays the mount operation by a slight bit, so the launch sound effect isn't cut off. +; Delays the mount operation by a slight bit, so the launch sound effect +; is not cut off. delay=1 -[epay] -; Enables the Thinca emulation. This will allow you to enable E-Money on compatible servers. -enable=1 - - ; ----------------------------------------------------------------------------- ; Custom IO settings ; ----------------------------------------------------------------------------- diff --git a/doc/config/common.md b/doc/config/common.md index 1485feb..68adfc4 100644 --- a/doc/config/common.md +++ b/doc/config/common.md @@ -661,6 +661,6 @@ Enables the Thinca emulation. This will allow you to enable E-Money on compatibl ### `hook` -Default: `0` +Default: `1` Enables hooking of respective Thinca DLL functions to emulate the existence of E-Money. This cannot be used with a real E-Money server. \ No newline at end of file