1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 23:36:00 +02:00

Fixed single-address ShowCodeAddr

This commit is contained in:
Brian Fiete 2022-06-01 11:57:49 -07:00
parent c735bd2192
commit d967d50652

View file

@ -1128,7 +1128,7 @@ namespace IDE
int64 addr = int64.Parse(cmds[1], System.Globalization.NumberStyles.HexNumber).GetValueOrDefault();
int64 inlineCallAddr = 0;
if (cmds.Count >= 2)
if (cmds.Count > 2)
inlineCallAddr = int64.Parse(cmds[2], System.Globalization.NumberStyles.HexNumber).GetValueOrDefault();
String fileName = scope String();