Dis5900asm: Fix an out of bounds access on invalid pmfhl formats

This commit is contained in:
Ty Lamontagne 2024-10-29 14:54:46 -04:00
parent 74645aa1b7
commit 11b738f54a
No known key found for this signature in database
GPG Key ID: 1B9139843421A974
1 changed files with 1 additions and 1 deletions

View File

@ -1071,7 +1071,7 @@ void MTSAH( std::string& output ) { _sap("mtsah\t%s, 0x%04X") GPR_REG[DECODE_R
//***************************SPECIAL 2 CPU OPCODES*******************
const char* pmfhl_sub[] = {"lw", "uw", "slw", "lh", "sh", "??", "??"};
const char* pmfhl_sub[] = {"lw", "uw", "slw", "lh", "sh", "??", "??", "??"};
void MADD( std::string& output ) { _sap("madd\t%s, %s %s") GPR_REG[DECODE_RD],GPR_REG[DECODE_RS], GPR_REG[DECODE_RT]); }
void MADDU( std::string& output ) { _sap("maddu\t%s, %s %s") GPR_REG[DECODE_RD],GPR_REG[DECODE_RS], GPR_REG[DECODE_RT]);}