epay: added config because git is dumb

This commit is contained in:
Dniel97 2023-09-15 19:58:46 +02:00
parent 5ef0cf6181
commit f5a7e5b821
Signed by untrusted user: Dniel97
GPG Key ID: 6180B3C768FB2E08
1 changed files with 7 additions and 0 deletions

View File

@ -339,3 +339,10 @@ void dipsw_config_load(struct dipsw_config *cfg, const wchar_t *filename)
}
}
void epay_config_load(struct epay_config *cfg, const wchar_t *filename)
{
assert(cfg != NULL);
assert(filename != NULL);
cfg->enable = GetPrivateProfileIntW(L"epay", L"enable", 1, filename);
}