1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-12 05:14:10 +02:00

Fixed address display

This commit is contained in:
Brian Fiete 2020-07-19 05:49:36 -07:00
parent 1604ea61cb
commit 09d8d428ec

View file

@ -281,7 +281,7 @@ namespace IDE.ui
switch((RepType)i) switch((RepType)i)
{ {
case RepType.Address: case RepType.Address:
((uint64)lockRange.mBaseOffset).ToString(s, "P", null); s.AppendF("0x{:A}", (uint64)lockRange.mBaseOffset);
case RepType.Int8: case RepType.Int8:
hasAltS = true; hasAltS = true;
(*(int8*)lockRange.mData.CArray()).ToString(s, (altIntBase == 10) ? "" : "X2", null); (*(int8*)lockRange.mData.CArray()).ToString(s, (altIntBase == 10) ? "" : "X2", null);