added new aime card reader generation

- Added new aime generation: 837-15286 and 837-15396
- New config setting `[aime] gen=3` for 837-15396
- Updated LED information for card reader
- Updated all games with the needed reader generation?
This commit is contained in:
2023-12-03 18:45:42 +01:00
parent 8c12853051
commit 793417e891
25 changed files with 81 additions and 47 deletions

View File

@ -60,7 +60,7 @@ static DWORD CALLBACK fgo_pre_startup(void)
goto fail;
}
hr = sg_reader_hook_init(&fgo_hook_cfg.aime, 3, fgo_hook_mod);
hr = sg_reader_hook_init(&fgo_hook_cfg.aime, 3, 3, fgo_hook_mod);
if (FAILED(hr)) {
goto fail;
@ -102,7 +102,7 @@ static DWORD CALLBACK fgo_pre_startup(void)
goto fail;
}
hr = createprocess_push_hook_a("am/amdaemon.exe", "inject -d -k fgohook.dll ", " -c config_hook.json", false);
hr = createprocess_push_hook_a("am/amdaemon.exe", "inject -d -k fgohook.dll ", "", false);
if (FAILED(hr)) {
goto fail;