diff options
-rw-r--r-- | src/lib/formats/pc_dsk.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/formats/pc_dsk.cpp b/src/lib/formats/pc_dsk.cpp index 193291c8265..c86335a0596 100644 --- a/src/lib/formats/pc_dsk.cpp +++ b/src/lib/formats/pc_dsk.cpp @@ -168,6 +168,11 @@ int pc_format::identify(io_generic *io, uint32_t form_factor) file_header_skip_bytes = 0x200; } + /* Disk Copy 4.2 images have an 84-byte header */ + if (size == 1474560 + 84) { + file_header_skip_bytes = 84; + } + /* some 1.44MB images have a 1024-byte footer */ if (size == 1474560 + 0x400) { file_footer_skip_bytes = 0x400; |