mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Merge pull request #5964 from JosJuice/wxstring-ternary
Fix DolphinWX build issue
This commit is contained in:
commit
ef4e4a9a76
@ -203,8 +203,9 @@ void AdvancedConfigPane::UpdateCPUClock()
|
||||
int percent = static_cast<int>(std::round(SConfig::GetInstance().m_OCFactor * 100.f));
|
||||
int clock = static_cast<int>(std::round(SConfig::GetInstance().m_OCFactor * core_clock));
|
||||
|
||||
m_clock_override_text->SetLabel(
|
||||
SConfig::GetInstance().m_OCEnable ? wxString::Format("%d %% (%d MHz)", percent, clock) : "");
|
||||
m_clock_override_text->SetLabel(SConfig::GetInstance().m_OCEnable ?
|
||||
wxString::Format("%d %% (%d MHz)", percent, clock) :
|
||||
wxString());
|
||||
}
|
||||
|
||||
void AdvancedConfigPane::LoadCustomRTC()
|
||||
|
Loading…
Reference in New Issue
Block a user