mirror of https://github.com/PCSX2/pcsx2.git
pcsx2: add missing case in switch
This commit is contained in:
parent
b53be72c6e
commit
f2f28d1794
|
@ -691,6 +691,8 @@ void CMipsInstruction::encodeNormal()
|
|||
|
||||
switch (immediateType)
|
||||
{
|
||||
case MIPS_NOIMMEDIATE:
|
||||
break;
|
||||
case MIPS_IMMEDIATE5:
|
||||
case MIPS_IMMEDIATE20:
|
||||
encoding |= immediate.value << 6;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue