diff options
author | Ian C <ianc@noddybox.co.uk> | 2023-01-10 19:16:39 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2023-01-10 19:16:39 +0000 |
commit | c257263f3b0e22be70f537264ea33af107c8547a (patch) | |
tree | b693bbece973aa21f598e6557137125fe80631b1 /source/snap.c | |
parent | f62037ad64341fa37e2bba9a42acac9b09594ada (diff) |
Futher tweaks to tape loading. Still failing on bad TAP files.
Diffstat (limited to 'source/snap.c')
-rw-r--r-- | source/snap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/snap.c b/source/snap.c index 789d7d5..6c9e502 100644 --- a/source/snap.c +++ b/source/snap.c @@ -121,7 +121,7 @@ int TAPLoad(Z80Byte id, Z80Word *addr, Z80Word *len, SNAP_Poke poke) */ if (id == type) { - /* Knock of block type + /* Knock off block type */ blen--; @@ -140,8 +140,8 @@ int TAPLoad(Z80Byte id, Z80Word *addr, Z80Word *len, SNAP_Poke poke) blen--; } - SPEC_DEBUG("Finished block. Remaining blen=%u len=%u\n", - (unsigned)blen, (unsigned)*len); + SPEC_DEBUG("Finished block. Remaining blen=%u len=%u addr=%u\n", + (unsigned)blen, (unsigned)*len, (unsigned)*addr); /* Get the checksum. If the length was correct there should be just byte left in blen, but decrement it in a loop to skip to the end. |