Service/CFG: convert to ServiceFramework

This commit is contained in:
wwylele 2018-03-06 10:43:24 +02:00
parent 5dd8ac99e3
commit b179b86f14
No known key found for this signature in database
GPG key ID: 0E87F3187357C16C
16 changed files with 554 additions and 550 deletions

View file

@ -135,7 +135,7 @@ void AppLoader_NCCH::ParseRegionLockoutInfo() {
constexpr u32 REGION_COUNT = 7;
for (u32 region = 0; region < REGION_COUNT; ++region) {
if (region_lockout & 1) {
Service::CFG::SetPreferredRegionCode(region);
Service::CFG::GetCurrentModule()->SetPreferredRegionCode(region);
break;
}
region_lockout >>= 1;