Mercurial > hg > dmlib
changeset 2517:106f4426c729
List formats without a loading address differently in argShowC64Formats().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 12 May 2020 20:31:23 +0300 |
parents | 5fcc9f7b8ad8 |
children | 470631c00c97 |
files | tools/lib64util.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/lib64util.c Tue May 12 20:27:00 2020 +0300 +++ b/tools/lib64util.c Tue May 12 20:31:23 2020 +0300 @@ -255,8 +255,16 @@ if (verbose) { + if (fmt->addr < 0) + { + fprintf(fh, "| %4s ", + fmt->addr == -1 ? "?" : ""); + } + else + { fprintf(fh, "| $%04x ", (uint32_t) fmt->addr); + } if (fmt->size > 0) {