mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
(MESS) Stop trashing DiskCopy 4.2 images that don't have tags. [R. Belmont]
This commit is contained in:
parent
8ff9bc63e4
commit
66944180b0
@ -470,8 +470,13 @@ static UINT32 apple35_get_offset(floppy_image_legacy *floppy, int head, int trac
|
||||
{
|
||||
*tag_offset = sector_index * 12;
|
||||
if (*tag_offset >= tag->tag_size)
|
||||
{
|
||||
*tag_offset = ~0;
|
||||
*tag_offset += tag->tag_offset;
|
||||
}
|
||||
else
|
||||
{
|
||||
*tag_offset += tag->tag_offset;
|
||||
}
|
||||
}
|
||||
return sector_index * 0x200 + tag->data_offset;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user