Skip to content

Commit

Permalink
Debugger: GBA - Fixed incorrect value for LDR/STR SP-relative offset …
Browse files Browse the repository at this point in the history
…in disassembly
  • Loading branch information
SourMesen committed Sep 30, 2024
1 parent 6493369 commit 029fae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/GBA/Debugger/GbaDisUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ void GbaDisUtils::ThumbDisassemble(DisassemblyInfo& info, string& out, uint32_t

str.Write(' ');
WriteReg(str, rd);
str.WriteAll(", [SP, #$", HexUtilities::ToHex(immValue << 1), ']');
str.WriteAll(", [SP, #$", HexUtilities::ToHex(immValue << 2), ']');
break;
}

Expand Down

0 comments on commit 029fae2

Please sign in to comment.