From 1e8eb63f34252a90bc0dbbd1df5f767f47278f29 Mon Sep 17 00:00:00 2001 From: arookas Date: Sat, 23 Jan 2016 01:36:27 -0500 Subject: [PATCH] Fixed: write dest, not ofs --- sbdump/main.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbdump/main.cs b/sbdump/main.cs index b0a7e75..1ee6591 100644 --- a/sbdump/main.cs +++ b/sbdump/main.cs @@ -176,7 +176,7 @@ namespace arookas { var symbol = FetchSymbol(i => i.Data == ofs); if (ofs > 0 && symbol != null) { var name = FetchSymbolName(symbol); - sWriter.Write(" {0} + ${1:X4} # ${2:X8}", name, dest - ofs, ofs); + sWriter.Write(" {0} + ${1:X4} # ${2:X8}", name, dest - ofs, dest); } else { sWriter.Write(" ${0:X8}", dest);