diff --git a/Source/Core/Common/GekkoDisassembler.cpp b/Source/Core/Common/GekkoDisassembler.cpp index e6b4aec326..4d90e66d39 100644 --- a/Source/Core/Common/GekkoDisassembler.cpp +++ b/Source/Core/Common/GekkoDisassembler.cpp @@ -2289,10 +2289,10 @@ std::string GekkoDisassembler::Disassemble(u32 opcode, u32 current_instruction_a return m_opcode.append("\t").append(m_operands); } -static const char* gprnames[] = {" r0", " r1", " r2", " r3", " r4", " r5", " r6", " r7", - " r8", " r9", "r10", "r11", "r12", "r13", "r14", "r15", - "r16", "r17", "r18", "r19", "r20", "r21", "r22", "r23", - "r24", "r25", "r26", "r27", "r28", "r29", "r30", "r31"}; +static const char* gprnames[] = { + " r0", " r1 (sp)", " r2 (rtoc)", " r3", " r4", " r5", " r6", " r7", " r8", " r9", "r10", + "r11", "r12", "r13", "r14", "r15", "r16", "r17", "r18", "r19", "r20", "r21", + "r22", "r23", "r24", "r25", "r26", "r27", "r28", "r29", "r30", "r31"}; const char* GekkoDisassembler::GetGPRName(u32 index) {