mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-14 05:55:13 +01:00
APT: use member system instead of global instance
This commit is contained in:
parent
acaca4188e
commit
6ce58248b0
@ -103,7 +103,7 @@ static u32 DecompressLZ11(const u8* in, u8* out) {
|
|||||||
|
|
||||||
bool Module::LoadSharedFont() {
|
bool Module::LoadSharedFont() {
|
||||||
u8 font_region_code;
|
u8 font_region_code;
|
||||||
auto cfg = Service::CFG::GetModule(Core::System::GetInstance());
|
auto cfg = Service::CFG::GetModule(system);
|
||||||
ASSERT_MSG(cfg, "CFG Module missing!");
|
ASSERT_MSG(cfg, "CFG Module missing!");
|
||||||
switch (cfg->GetRegionValue()) {
|
switch (cfg->GetRegionValue()) {
|
||||||
case 4: // CHN
|
case 4: // CHN
|
||||||
|
Loading…
Reference in New Issue
Block a user