diff options
author | 2021-02-16 21:54:36 +0100 | |
---|---|---|
committer | 2021-02-16 21:55:12 +0100 | |
commit | a4489dcdb44ebf2b1654e7f6641fe17c029c1793 (patch) | |
tree | da7e5e5e8003e705f506899cde1cf9268ea0619d /src/lib/formats/ap2_dsk.cpp | |
parent | 48eafb68c4b89dfc03ee2e29d45dd8f27b550415 (diff) |
woz: Correct trks chunk size
Diffstat (limited to 'src/lib/formats/ap2_dsk.cpp')
-rw-r--r-- | src/lib/formats/ap2_dsk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/ap2_dsk.cpp b/src/lib/formats/ap2_dsk.cpp index 082c263c569..f79221cfc51 100644 --- a/src/lib/formats/ap2_dsk.cpp +++ b/src/lib/formats/ap2_dsk.cpp @@ -1796,7 +1796,7 @@ bool a2_woz_format::save(io_generic *io, const std::vector<uint32_t> &variants, data[88 + i] = tracks[i].empty() ? 0xff : tcount++; w32(data, 248, 0x534B5254); // TRKS - w32(data, 252, 8*tcount); // size + w32(data, 252, 1280 + total_blocks*512); // size uint8_t tid = 0; uint16_t tb = 3; |