Rsp: Update vmov

This commit is contained in:
zilmar 2023-08-03 17:27:58 +09:30
parent b5db44c12d
commit 05cd3a846b
2 changed files with 2 additions and 2 deletions

View File

@ -1983,7 +1983,7 @@ void RSP_Vector_VMOV(void)
{
RSP_ACCUM[i].HW[1] = RSP_Vect[RSPOpC.vt].ue(i, RSPOpC.e);
}
uint8_t Index = 7 - (RSPOpC.de & 0x7);
uint8_t Index = (RSPOpC.de & 0x7);
RSP_Vect[RSPOpC.vd].u16(Index) = RSP_Vect[RSPOpC.vt].ue(Index, RSPOpC.e);
}

View File

@ -506,7 +506,7 @@ void RSPInstruction::DecodeCop2Name(void)
break;
case RSP_VECTOR_VMOV:
strcpy(m_Name, "VMOV");
sprintf(m_Param, "$v%d[%d], $v%d[%d]", m_Instruction.vd, m_Instruction.de & 0x7, m_Instruction.rt, m_Instruction.de & 0x7);
sprintf(m_Param, "$v%d[%d], $v%d[%d]%s", m_Instruction.vd, m_Instruction.de & 0x7, m_Instruction.rt, m_Instruction.de & 0x7, ElementSpecifier(m_Instruction.e));
break;
case RSP_VECTOR_VRSQ:
strcpy(m_Name, "VRSQ");