From f5a7e5b821ac0e9e5e1b46c1b2aae6b084dd6caa Mon Sep 17 00:00:00 2001 From: Dniel97 Date: Fri, 15 Sep 2023 19:58:46 +0200 Subject: [PATCH] epay: added config because git is dumb --- platform/config.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/platform/config.c b/platform/config.c index 279c4f2..8e71847 100644 --- a/platform/config.c +++ b/platform/config.c @@ -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); +}