mirror of
https://gitea.tendokyu.moe/Hay1tsme/segatools.git
synced 2026-05-09 04:03:03 -05:00
misc: cleanup
This commit is contained in:
parent
bf8f3dd6f9
commit
e2257a6fa7
4
dist/mercury/launch.bat
vendored
4
dist/mercury/launch.bat
vendored
|
|
@ -10,4 +10,6 @@ inject -d -k mercuryhook.dll ../WindowsNoEditor/Mercury/Binaries/Win64/Mercury-W
|
|||
|
||||
taskkill /f /im amdaemon.exe > nul 2>&1
|
||||
|
||||
echo Game processes have terminated
|
||||
echo.
|
||||
echo Game processes have terminated
|
||||
pause
|
||||
4
dist/mercury/segatools.ini
vendored
4
dist/mercury/segatools.ini
vendored
|
|
@ -99,8 +99,8 @@ dpiAware=1
|
|||
[touch]
|
||||
enable=1
|
||||
|
||||
; Hooks related to the LED board (codenamed Elisabeth)
|
||||
[elisabeth]
|
||||
; Hooks related to the LED board (codenamed Elizabeth)
|
||||
[elizabeth]
|
||||
enable=1
|
||||
|
||||
; -----------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -24,11 +24,6 @@
|
|||
#include "hooklib/serial.h"
|
||||
#include "hooklib/spike.h"
|
||||
|
||||
#include "platform/clock.h"
|
||||
#include "platform/config.h"
|
||||
#include "platform/nusec.h"
|
||||
#include "platform/security.h"
|
||||
|
||||
#include "unityhook/hook.h"
|
||||
|
||||
#include "util/dprintf.h"
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
|
||||
#include "util/dprintf.h"
|
||||
#include "util/str.h"
|
||||
#include "util/env.h"
|
||||
|
||||
static struct apm3_io_config apm3_io_cfg;
|
||||
static const struct apm3_io_backend *apm3_io_backend;
|
||||
|
|
@ -39,7 +40,7 @@ HRESULT apm3_io_init(void)
|
|||
return hr;
|
||||
}
|
||||
|
||||
apm3_io_config_load(&apm3_io_cfg, L".\\segatools.ini");
|
||||
apm3_io_config_load(&apm3_io_cfg, get_config_path());
|
||||
|
||||
if (wstr_ieq(apm3_io_cfg.mode, L"keyboard")) {
|
||||
hr = apm3_kb_init(&apm3_io_cfg.kb, &apm3_io_backend);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user