mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Common/MsgHandler: Namespace code within the Common namespace
Closes another gap in the Common library where code isn't being namespaced under it.
This commit is contained in:
@ -84,7 +84,7 @@ void Init()
|
||||
GCAdapter::Init();
|
||||
VideoBackendBase::ActivateBackend(SConfig::GetInstance().m_strVideoBackend);
|
||||
|
||||
SetEnableAlert(SConfig::GetInstance().bUsePanicHandlers);
|
||||
Common::SetEnableAlert(SConfig::GetInstance().bUsePanicHandlers);
|
||||
}
|
||||
|
||||
void Shutdown()
|
||||
@ -440,7 +440,7 @@ std::string FormatSize(u64 bytes)
|
||||
const double unit_size = std::pow(2, unit * 10);
|
||||
std::stringstream ss;
|
||||
ss << std::fixed << std::setprecision(2);
|
||||
ss << bytes / unit_size << ' ' << GetStringT(unit_symbols[unit]);
|
||||
ss << bytes / unit_size << ' ' << Common::GetStringT(unit_symbols[unit]);
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user