pcsx2: add missing case in switch

This commit is contained in:
Gregory Hainaut 2015-11-07 10:31:48 +01:00
parent b53be72c6e
commit f2f28d1794
2 changed files with 4 additions and 3 deletions

View File

@ -691,6 +691,8 @@ void CMipsInstruction::encodeNormal()
switch (immediateType)
{
case MIPS_NOIMMEDIATE:
break;
case MIPS_IMMEDIATE5:
case MIPS_IMMEDIATE20:
encoding |= immediate.value << 6;

View File

@ -93,9 +93,8 @@ void SysThreadBase::Suspend( bool isBlocking )
switch( m_ExecMode )
{
// FIXME what to do for this case
// case ExecMode_NoThreadYet:
// Invalid thread state, nothing to suspend
case ExecMode_NoThreadYet:
// Check again -- status could have changed since above.
case ExecMode_Closed: return;