summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2014-04-12 20:45:18 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2014-04-12 20:45:18 +0000
commitd46cefb7910ff6f1a363395a7e954e0a6bca8227 (patch)
treeef73ce00f6995974d3c1a1722377f3bca6319225 /src/lib
parent4507757178a357092571e36163824ead06178d56 (diff)
(nw)
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/formats/ap2_dsk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/ap2_dsk.c b/src/lib/formats/ap2_dsk.c
index 82599ef41cc..9e629d333ac 100644
--- a/src/lib/formats/ap2_dsk.c
+++ b/src/lib/formats/ap2_dsk.c
@@ -793,8 +793,8 @@ bool a2_16sect_format::save(io_generic *io, floppy_image *image)
UINT8 tr = gcr4_decode(h[2],h[3]);
UINT8 se = gcr4_decode(h[4],h[5]);
UINT8 chk = gcr4_decode(h[6],h[7]);
- UINT32 post = (h[8]<<16)|(h[9]<<8)|h[10];
#ifdef VERBOSE_SAVE
+ UINT32 post = (h[8]<<16)|(h[9]<<8)|h[10];
printf("Address Mark:\tVolume %d, Track %d, Sector %2d, Checksum %02X: %s, Postamble %03X: %s\n", vl, tr, se, chk, (chk ^ vl ^ tr ^ se)==0?"OK":"BAD", post, (post&0xFFFF00)==0xDEAA00?"OK":"BAD");
#endif
// sanity check