aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2018-09-28 01:21:23 -0700
committerH. Peter Anvin <hpa@zytor.com>2018-09-28 01:21:23 -0700
commit6dd50938bda8d128b9126676cb7268921c09b3d0 (patch)
treedfbab57ee374b4391ab0bf891880bc06377993f1
parent5c78e8b85ff7be8b156e7c71d8ef61bce96dfe7b (diff)
downloadabc80sim-6dd50938bda8d128b9126676cb7268921c09b3d0.tar.gz
abc80sim-6dd50938bda8d128b9126676cb7268921c09b3d0.tar.xz
abc80sim-6dd50938bda8d128b9126676cb7268921c09b3d0.zip
z80dis: emit tracing disassembly to the trace file
-rw-r--r--z80dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/z80dis.c b/z80dis.c
index 1241553..4e2505b 100644
--- a/z80dis.c
+++ b/z80dis.c
@@ -208,7 +208,7 @@ int disassemble(int pc)
int n;
n = DAsm(pc, buffer, NULL);
- fputs(buffer, stdout);
+ fputs(buffer, tracef);
return n;
}