mirror of https://github.com/PCSX2/pcsx2.git
Linux: IsRunning was crashing pcsx2. Also, jNO_DEFAULT isn't a good idea in these two spots.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1845 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
556a811933
commit
34af7c1281
|
@ -165,6 +165,8 @@ namespace Threading
|
|||
|
||||
bool PersistentThread::IsRunning() const
|
||||
{
|
||||
if (!m_running) return false;
|
||||
|
||||
if( !!m_detached )
|
||||
return !!m_running;
|
||||
else
|
||||
|
|
|
@ -47,7 +47,8 @@ const wxChar* Panels::SpeedHacksPanel::GetEEcycleSliderMsg( int val )
|
|||
L"audio on many FMVs."
|
||||
);
|
||||
|
||||
jNO_DEFAULT
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return L"Unreachable Warning Suppressor!!";
|
||||
|
@ -78,8 +79,8 @@ const wxChar* Panels::SpeedHacksPanel::GetVUcycleSliderMsg( int val )
|
|||
L"3 - Maximum VU Cycle Stealing. Usefulness is limited, as this will cause flickering "
|
||||
L"visuals or slowdown in most games."
|
||||
);
|
||||
|
||||
jNO_DEFAULT
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return L"Unreachable Warning Suppressor!!";
|
||||
|
|
Loading…
Reference in New Issue