From 31931badf70353115cad836128ed6f54cf65db5d Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Sun, 11 Dec 2022 05:48:28 -0500 Subject: [PATCH] fix billingType --- platform/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/config.c b/platform/config.c index 715e3c3..1c6be62 100644 --- a/platform/config.c +++ b/platform/config.c @@ -222,7 +222,7 @@ void nusec_config_load(struct nusec_config *cfg, const wchar_t *filename) filename); cfg->region = GetPrivateProfileIntW(L"keychip", L"region", 1, filename); - cfg->region = GetPrivateProfileIntW(L"keychip", L"billingType", 1, filename); + cfg->billing_type = GetPrivateProfileIntW(L"keychip", L"billingType", 1, filename); cfg->system_flag = GetPrivateProfileIntW( L"keychip", L"systemFlag",