gui: Avoid out-of-bound access when sVU is disabled

The radio buttons are ifdef'd out so they don't exist.
This commit is contained in:
Jonathan Li 2016-05-01 09:39:19 +01:00
parent 424e7d65e5
commit 6b5761dfa4
1 changed files with 0 additions and 6 deletions

View File

@ -294,12 +294,6 @@ void Panels::CpuPanelVU::AppStatusEvent_OnSettingsApplied()
void Panels::CpuPanelVU::ApplyConfigToGui( AppConfig& configToApply, int flags )
{
#ifdef DISABLE_SVU
m_panel_VU0->EnableItem( 2, false);
m_panel_VU1->EnableItem( 2, false);
#endif
Pcsx2Config::RecompilerOptions& recOps( configToApply.EmuOptions.Cpu.Recompiler );
#ifndef DISABLE_SVU
if( recOps.UseMicroVU0 )