CPU: Fix GTE control register disassembly

This commit is contained in:
Stenzek
2024-01-21 02:26:26 +10:00
parent 0065800f05
commit 884c851079
4 changed files with 92 additions and 44 deletions

View File

@ -112,7 +112,7 @@ QVariant DebuggerCodeModel::data(const QModelIndex& index, int role /*= Qt::Disp
return tr("<invalid>");
TinyString str;
CPU::DisassembleInstructionComment(&str, address, instruction_bits, &CPU::g_state.regs);
CPU::DisassembleInstructionComment(&str, address, instruction_bits);
return QString::fromUtf8(str.c_str(), static_cast<int>(str.length()));
}