1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-24 05:20:10 +01:00

cardhook/dllmain.c: Fix .ini file path

Searches %WINDIR% otherwise gdi Microsoft (alright, fine, it's a
30ish year old API, I'll cut them some slack).
This commit is contained in:
Tau 2019-09-07 16:24:04 -04:00
parent 0242c5efc8
commit 1a073c7e1a

View File

@ -23,8 +23,8 @@ static DWORD CALLBACK app_pre_startup(void)
{
dprintf("--- Begin %s ---\n", __func__);
aime_config_load(&app_aime_config, L"segatools.ini");
dns_config_load(&app_dns_config, L"segatools.ini");
aime_config_load(&app_aime_config, L".\\segatools.ini");
dns_config_load(&app_dns_config, L".\\segatools.ini");
serial_hook_init();
sg_reader_hook_init(&app_aime_config, 12);