mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
pc_dsk: Ignore 84-byte Disk Copy 4.2 header [Justin Kerk]
This commit is contained in:
parent
9d54b039e3
commit
68fecdf7e0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user