Service/CFG: convert to ServiceFramework
This commit is contained in:
parent
5dd8ac99e3
commit
b179b86f14
16 changed files with 554 additions and 550 deletions
|
@ -79,7 +79,7 @@ static u64 GetTitleIdForApplet(AppletId id) {
|
|||
|
||||
ASSERT_MSG(itr != applet_titleids.end(), "Unknown applet id 0x%03X", static_cast<u32>(id));
|
||||
|
||||
return itr->title_ids[CFG::GetRegionValue()];
|
||||
return itr->title_ids[CFG::GetCurrentModule()->GetRegionValue()];
|
||||
}
|
||||
|
||||
AppletManager::AppletSlotData* AppletManager::GetAppletSlotData(AppletId id) {
|
||||
|
|
|
@ -103,7 +103,7 @@ static u32 DecompressLZ11(const u8* in, u8* out) {
|
|||
|
||||
bool Module::LoadSharedFont() {
|
||||
u8 font_region_code;
|
||||
switch (CFG::GetRegionValue()) {
|
||||
switch (CFG::GetCurrentModule()->GetRegionValue()) {
|
||||
case 4: // CHN
|
||||
font_region_code = 2;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue