mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00: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:
parent
e7dd46a531
commit
4f1f55093f
15 changed files with 214 additions and 143 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue