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",