Disable VU recompiler options for machines without SSE2.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2344 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-12-14 16:54:36 +00:00
parent f60ed711cc
commit dbb6898cd6
2 changed files with 7 additions and 1 deletions

View File

@ -390,6 +390,7 @@ static void intExecute()
static void intExecuteBiosStub() static void intExecuteBiosStub()
{ {
g_EEFreezeRegs = false;
Console.WriteLn( Color_StrongGreen, "(R5900-Interp) Executing Bios Stub..." ); Console.WriteLn( Color_StrongGreen, "(R5900-Interp) Executing Bios Stub..." );
while( (cpuRegs.pc != 0x00200008) && (cpuRegs.pc != 0x00100008) ) { while( (cpuRegs.pc != 0x00200008) && (cpuRegs.pc != 0x00100008) ) {
execI(); execI();

View File

@ -234,7 +234,9 @@ void Panels::CpuPanelEE::Apply()
void Panels::CpuPanelEE::OnSettingsChanged() void Panels::CpuPanelEE::OnSettingsChanged()
{ {
m_panel_RecEE->Enable( x86caps.hasStreamingSIMD2Extensions ); m_panel_RecEE->Enable( x86caps.hasStreamingSIMD2Extensions );
m_panel_RecIOP->Enable( x86caps.hasStreamingSIMD2Extensions );
// IOP rec should work fine on any CPU. :D
//m_panel_RecIOP->Enable( x86caps.hasStreamingSIMD2Extensions );
const Pcsx2Config::RecompilerOptions& recOps( g_Conf->EmuOptions.Cpu.Recompiler ); const Pcsx2Config::RecompilerOptions& recOps( g_Conf->EmuOptions.Cpu.Recompiler );
m_panel_RecEE->SetSelection( (int)recOps.EnableEE ); m_panel_RecEE->SetSelection( (int)recOps.EnableEE );
@ -253,6 +255,9 @@ void Panels::CpuPanelVU::Apply()
void Panels::CpuPanelVU::OnSettingsChanged() void Panels::CpuPanelVU::OnSettingsChanged()
{ {
m_panel_VU0->Enable( x86caps.hasStreamingSIMD2Extensions );
m_panel_VU1->Enable( x86caps.hasStreamingSIMD2Extensions );
m_panel_VU0->EnableItem( 1, x86caps.hasStreamingSIMD2Extensions ); m_panel_VU0->EnableItem( 1, x86caps.hasStreamingSIMD2Extensions );
m_panel_VU0->EnableItem( 2, x86caps.hasStreamingSIMD2Extensions ); m_panel_VU0->EnableItem( 2, x86caps.hasStreamingSIMD2Extensions );