idac: improved compatibility with newer versions

This commit is contained in:
2024-06-30 14:23:20 +02:00
parent 050951e56f
commit 965126c68a
7 changed files with 310 additions and 3 deletions

View File

@ -66,6 +66,16 @@ void idac_dll_config_load(
filename);
}
void indrun_config_load(
struct indrun_config *cfg,
const wchar_t *filename)
{
assert(cfg != NULL);
assert(filename != NULL);
cfg->enable = GetPrivateProfileIntW(L"indrun", L"enable", 1, filename);
}
void idac_hook_config_load(
struct idac_hook_config *cfg,
const wchar_t *filename)
@ -80,6 +90,7 @@ void idac_hook_config_load(
dvd_config_load(&cfg->dvd, filename);
io4_config_load(&cfg->io4, filename);
led15070_config_load(&cfg->led15070, filename);
indrun_config_load(&cfg->indrun, filename);
}
void zinput_config_load(struct zinput_config *cfg, const wchar_t *filename)