mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 14:39:01 +01:00
Config: Fix incorrect array length detection for CPU Emulation Engine options.
This commit is contained in:
parent
30db1959fa
commit
3520a1d123
@ -99,7 +99,7 @@ void GeneralConfigPane::LoadGUIValues()
|
||||
m_force_ntscj_checkbox->SetValue(startup_params.bForceNTSCJ);
|
||||
m_frame_limit_choice->SetSelection(SConfig::GetInstance().m_Framelimit);
|
||||
|
||||
for (size_t i = 0; i < (sizeof(cpu_cores) / sizeof(CPUCore)); ++i)
|
||||
for (size_t i = 0; i < cpu_cores.size(); ++i)
|
||||
{
|
||||
if (cpu_cores[i].CPUid == startup_params.iCPUCore)
|
||||
m_cpu_engine_radiobox->SetSelection(i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user