mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
424e7d65e5
commit
6b5761dfa4
|
@ -294,12 +294,6 @@ void Panels::CpuPanelVU::AppStatusEvent_OnSettingsApplied()
|
||||||
|
|
||||||
void Panels::CpuPanelVU::ApplyConfigToGui( AppConfig& configToApply, int flags )
|
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 );
|
Pcsx2Config::RecompilerOptions& recOps( configToApply.EmuOptions.Cpu.Recompiler );
|
||||||
#ifndef DISABLE_SVU
|
#ifndef DISABLE_SVU
|
||||||
if( recOps.UseMicroVU0 )
|
if( recOps.UseMicroVU0 )
|
||||||
|
|
Loading…
Reference in New Issue