From 6b5761dfa4b9da41804095cd8686e2cd4ae74abd Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Sun, 1 May 2016 09:39:19 +0100 Subject: [PATCH] gui: Avoid out-of-bound access when sVU is disabled The radio buttons are ifdef'd out so they don't exist. --- pcsx2/gui/Panels/CpuPanel.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pcsx2/gui/Panels/CpuPanel.cpp b/pcsx2/gui/Panels/CpuPanel.cpp index 7835515096..c91d49d977 100644 --- a/pcsx2/gui/Panels/CpuPanel.cpp +++ b/pcsx2/gui/Panels/CpuPanel.cpp @@ -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 )