summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/pc_dsk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/pc_dsk.cpp')
-rw-r--r--src/lib/formats/pc_dsk.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/formats/pc_dsk.cpp b/src/lib/formats/pc_dsk.cpp
index e7daeb1d829..cb54d5d9ce8 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;
}
+ /* some 1.44MB images have a 1024-byte footer */
+ if (size == 1474560 + 0x400) {
+ file_footer_skip_bytes = 0x400;
+ }
+
return upd765_format::identify(io, form_factor);
}