Fixup: Remove unneeded GetUsername
This commit is contained in:
parent
9d53136f20
commit
1b1de23a98
@ -5,7 +5,6 @@
|
|||||||
#include "common/common_paths.h"
|
#include "common/common_paths.h"
|
||||||
#include "common/file_util.h"
|
#include "common/file_util.h"
|
||||||
#include "common/logging/log.h"
|
#include "common/logging/log.h"
|
||||||
#include "common/string_util.h"
|
|
||||||
#include "core/core.h"
|
#include "core/core.h"
|
||||||
#include "core/file_sys/archive_ncch.h"
|
#include "core/file_sys/archive_ncch.h"
|
||||||
#include "core/file_sys/file_backend.h"
|
#include "core/file_sys/file_backend.h"
|
||||||
@ -110,7 +109,6 @@ bool Module::LoadSharedFont() {
|
|||||||
ASSERT_MSG(cfg, "cfg:u not started!");
|
ASSERT_MSG(cfg, "cfg:u not started!");
|
||||||
auto cfg_module = cfg->GetModule();
|
auto cfg_module = cfg->GetModule();
|
||||||
ASSERT_MSG(cfg_module, "CFG Module missing!");
|
ASSERT_MSG(cfg_module, "CFG Module missing!");
|
||||||
std::string username = Common::UTF16ToUTF8(cfg_module->GetUsername());
|
|
||||||
switch (cfg_module->GetRegionValue()) {
|
switch (cfg_module->GetRegionValue()) {
|
||||||
case 4: // CHN
|
case 4: // CHN
|
||||||
font_region_code = 2;
|
font_region_code = 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user