Merge pull request #9437 from Pokechu22/GX_CMD_UNKNOWN_METRICS

Use GX_CMD_UNKNOWN_METRICS instead of magic number 0x44
This commit is contained in:
LC 2021-01-12 04:09:54 -05:00 committed by GitHub
commit 7fdd4afd9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -164,7 +164,7 @@ u32 AnalyzeCommand(const u8* data, DecodeMode mode)
switch (cmd) switch (cmd)
{ {
case OpcodeDecoder::GX_NOP: case OpcodeDecoder::GX_NOP:
case 0x44: case OpcodeDecoder::GX_CMD_UNKNOWN_METRICS:
case OpcodeDecoder::GX_CMD_INVL_VC: case OpcodeDecoder::GX_CMD_INVL_VC:
break; break;

View File

@ -211,8 +211,8 @@ void FIFOAnalyzer::UpdateDetails()
new_label = QStringLiteral("NOP"); new_label = QStringLiteral("NOP");
break; break;
case 0x44: case OpcodeDecoder::GX_CMD_UNKNOWN_METRICS:
new_label = QStringLiteral("0x44"); new_label = QStringLiteral("GX_CMD_UNKNOWN_METRICS");
break; break;
case OpcodeDecoder::GX_CMD_INVL_VC: case OpcodeDecoder::GX_CMD_INVL_VC: