Rsp: add vnop for vnull

This commit is contained in:
zilmar 2023-09-07 11:29:16 +09:30
parent 8b71ef3bc1
commit d468b863c2
2 changed files with 5 additions and 1 deletions

View File

@ -302,7 +302,7 @@ void BuildInterpreterCPU(void)
RSP_Vector[60] = RSP_Vector_Reserved; RSP_Vector[60] = RSP_Vector_Reserved;
RSP_Vector[61] = RSP_Vector_Reserved; RSP_Vector[61] = RSP_Vector_Reserved;
RSP_Vector[62] = RSP_Vector_Reserved; RSP_Vector[62] = RSP_Vector_Reserved;
RSP_Vector[63] = rsp_UnknownOpcode; RSP_Vector[63] = RSP_Vector_VNOOP;
RSP_Lc2[0] = RSP_Opcode_LBV; RSP_Lc2[0] = RSP_Opcode_LBV;
RSP_Lc2[1] = RSP_Opcode_LSV; RSP_Lc2[1] = RSP_Opcode_LSV;

View File

@ -608,6 +608,10 @@ void RSPInstruction::DecodeCop2Name(void)
strcpy(m_Name, "Reserved (VINSN)"); strcpy(m_Name, "Reserved (VINSN)");
strcpy(m_Param, ""); strcpy(m_Param, "");
break; break;
case RSP_VECTOR_VNULL:
strcpy(m_Name, "VNULL");
strcpy(m_Param, "");
break;
default: default:
strcpy(m_Name, "UNKNOWN"); strcpy(m_Name, "UNKNOWN");
sprintf(m_Param, "0x%08X", m_Instruction.Value); sprintf(m_Param, "0x%08X", m_Instruction.Value);