diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-11-04 21:57:46 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-11-04 21:57:46 -0400 |
| commit | 07e3835a49f12ba8dcfc86db8ba0eff2e00b8f35 (patch) | |
| tree | 8a1780391867ae8a9962b89369c7eeafc05faab0 /Source/Core/DolphinWX/Config/GeneralConfigPane.cpp | |
| parent | 5d4c714662f4bf9e4ef025b85ffd96331e265724 (diff) | |
GeneralConfigPane: rename cpu_cores to m_cpu_cores
Diffstat (limited to 'Source/Core/DolphinWX/Config/GeneralConfigPane.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Config/GeneralConfigPane.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/DolphinWX/Config/GeneralConfigPane.cpp b/Source/Core/DolphinWX/Config/GeneralConfigPane.cpp index 742c551277..86cbe7e84b 100644 --- a/Source/Core/DolphinWX/Config/GeneralConfigPane.cpp +++ b/Source/Core/DolphinWX/Config/GeneralConfigPane.cpp @@ -21,7 +21,7 @@ GeneralConfigPane::GeneralConfigPane(wxWindow* parent, wxWindowID id) : wxPanel(parent, id) { - cpu_cores = { + m_cpu_cores = { {PowerPC::CORE_INTERPRETER, _("Interpreter (slowest)")}, {PowerPC::CORE_CACHEDINTERPRETER, _("Cached Interpreter (slower)")}, #ifdef _M_X86_64 @@ -48,7 +48,7 @@ void GeneralConfigPane::InitializeGUI() m_throttler_array_string.Add(wxString::Format(_("%i%%"), i)); } - for (const CPUCore& cpu_core : cpu_cores) + for (const CPUCore& cpu_core : m_cpu_cores) m_cpu_engine_array_string.Add(cpu_core.name); m_dual_core_checkbox = new wxCheckBox(this, wxID_ANY, _("Enable Dual Core (speedup)")); @@ -154,9 +154,9 @@ void GeneralConfigPane::LoadGUIValues() if (selection < m_throttler_array_string.size()) m_throttler_choice->SetSelection(selection); - for (size_t i = 0; i < cpu_cores.size(); ++i) + for (size_t i = 0; i < m_cpu_cores.size(); ++i) { - if (cpu_cores[i].CPUid == startup_params.iCPUCore) + if (m_cpu_cores[i].CPUid == startup_params.iCPUCore) m_cpu_engine_radiobox->SetSelection(i); } } @@ -198,7 +198,7 @@ void GeneralConfigPane::OnThrottlerChoiceChanged(wxCommandEvent& event) void GeneralConfigPane::OnCPUEngineRadioBoxChanged(wxCommandEvent& event) { - SConfig::GetInstance().iCPUCore = cpu_cores.at(event.GetSelection()).CPUid; + SConfig::GetInstance().iCPUCore = m_cpu_cores.at(event.GetSelection()).CPUid; } void GeneralConfigPane::OnAnalyticsCheckBoxChanged(wxCommandEvent& event) |
