Reformat some code, fix some warnings

This commit is contained in:
Henrik Rydgard 2012-11-18 23:34:37 +01:00
parent fa05713456
commit e2c3f26f1b

View File

@ -401,9 +401,9 @@ namespace MIPSInt
void Int_Vmscl(u32 op)
{
float s[16];
float t[16];
float d[16];
float s[16];
float t[1];
int vd = _VD;
int vs = _VS;
@ -412,7 +412,7 @@ namespace MIPSInt
int n = GetMatrixSide(sz);
ReadMatrix(s, sz, vs);
ReadMatrix(t, sz, vt);
ReadVector(t, V_Single, vt);
for (int a = 0; a < n; a++)
{
@ -1346,13 +1346,6 @@ namespace MIPSInt
default: goto bad;
}
break;
/*
case 27: //VFPU3
switch ((op >> 23)&7)
{
case 0: d[i] = s[i] * t[i]; break; //vmul
}
break;*/
default:
bad:
_dbg_assert_msg_(CPU,0,"Trying to interpret instruction that can't be interpreted");