MP1: Use _SYS_STR where needed

This commit is contained in:
Luke Street 2020-04-17 14:39:40 -04:00
parent 248e7654fa
commit 4a8f077d92
1 changed files with 1 additions and 1 deletions

View File

@ -798,7 +798,7 @@ void CMain::Init(const hecl::Runtime::FileStoreManager& storeMgr, hecl::CVarMana
} }
hecl::SystemStringConv conv(GetVersionString()); hecl::SystemStringConv conv(GetVersionString());
boo::SystemStringView versionView(conv.sys_str()); boo::SystemStringView versionView(conv.sys_str());
MainLog.report(logvisor::Level::Info, FMT_STRING("Loading data from Metroid Prime version {} from region {}{}"), MainLog.report(logvisor::Level::Info, FMT_STRING(_SYS_STR("Loading data from Metroid Prime version {} from region {}{}")),
versionView, boo::SystemChar(GetRegion()), IsTrilogy() ? _SYS_STR(" from trilogy") : _SYS_STR("")); versionView, boo::SystemChar(GetRegion()), IsTrilogy() ? _SYS_STR(" from trilogy") : _SYS_STR(""));
} else { } else {
MainLog.report(logvisor::Level::Fatal, FMT_STRING("Unable to load version info")); MainLog.report(logvisor::Level::Fatal, FMT_STRING("Unable to load version info"));