sceNpManagerGetAccountRegion impl

This commit is contained in:
RipleyTom 2020-09-24 21:28:27 +02:00 committed by Ivan
parent ea1171f624
commit abaa8f855f

View File

@ -2702,6 +2702,12 @@ error_code sceNpManagerGetAccountRegion(vm::ptr<SceNpCountryCode> countryCode, v
return SCE_NP_ERROR_INVALID_STATE;
}
memset(countryCode.get_ptr(), 0, sizeof(countryCode));
countryCode->data[0] = 'u';
countryCode->data[1] = 's';
*language = CELL_SYSUTIL_LANG_ENGLISH_US;
return CELL_OK;
}