forked from Hay1tsme/segatools
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:
parent
0242c5efc8
commit
1a073c7e1a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user