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)
|
switch (immediateType)
|
||||||
{
|
{
|
||||||
|
case MIPS_NOIMMEDIATE:
|
||||||
|
break;
|
||||||
case MIPS_IMMEDIATE5:
|
case MIPS_IMMEDIATE5:
|
||||||
case MIPS_IMMEDIATE20:
|
case MIPS_IMMEDIATE20:
|
||||||
encoding |= immediate.value << 6;
|
encoding |= immediate.value << 6;
|
||||||
|
|
|
@ -93,9 +93,8 @@ void SysThreadBase::Suspend( bool isBlocking )
|
||||||
|
|
||||||
switch( m_ExecMode )
|
switch( m_ExecMode )
|
||||||
{
|
{
|
||||||
// FIXME what to do for this case
|
// Invalid thread state, nothing to suspend
|
||||||
// case ExecMode_NoThreadYet:
|
case ExecMode_NoThreadYet:
|
||||||
|
|
||||||
// Check again -- status could have changed since above.
|
// Check again -- status could have changed since above.
|
||||||
case ExecMode_Closed: return;
|
case ExecMode_Closed: return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue