From 6ce58248b04f301ce59af9d0f2b261d19e664802 Mon Sep 17 00:00:00 2001 From: Weiyi Wang Date: Sun, 3 Feb 2019 21:33:02 -0500 Subject: [PATCH] APT: use member system instead of global instance --- src/core/hle/service/apt/apt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/service/apt/apt.cpp b/src/core/hle/service/apt/apt.cpp index 6b779bc309..4d4904f536 100644 --- a/src/core/hle/service/apt/apt.cpp +++ b/src/core/hle/service/apt/apt.cpp @@ -103,7 +103,7 @@ static u32 DecompressLZ11(const u8* in, u8* out) { bool Module::LoadSharedFont() { u8 font_region_code; - auto cfg = Service::CFG::GetModule(Core::System::GetInstance()); + auto cfg = Service::CFG::GetModule(system); ASSERT_MSG(cfg, "CFG Module missing!"); switch (cfg->GetRegionValue()) { case 4: // CHN