mirror of
https://github.com/holub/mame
synced 2025-04-26 10:13:37 +03:00
removed useless unsigned variable checks in src/lib/formats/ap_dsk35.c (nw)
This commit is contained in:
parent
a122ced87d
commit
1db1801a5b
@ -1267,7 +1267,7 @@ int dc42_format::identify(io_generic *io, UINT32 form_factor)
|
|||||||
UINT32 dsize = (h[0x40] << 24) | (h[0x41] << 16) | (h[0x42] << 8) | h[0x43];
|
UINT32 dsize = (h[0x40] << 24) | (h[0x41] << 16) | (h[0x42] << 8) | h[0x43];
|
||||||
UINT32 tsize = (h[0x44] << 24) | (h[0x45] << 16) | (h[0x46] << 8) | h[0x47];
|
UINT32 tsize = (h[0x44] << 24) | (h[0x45] << 16) | (h[0x46] << 8) | h[0x47];
|
||||||
|
|
||||||
return dsize > 0 && tsize >= 0 && size == 0x54+tsize+dsize && h[0] < 64 && h[0x52] == 1 && h[0x53] == 0 ? 100 : 0;
|
return size == 0x54+tsize+dsize && h[0] < 64 && h[0x52] == 1 && h[0x53] == 0 ? 100 : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const floppy_image_format_t::desc_e dc42_format::mac_gcr[] = {
|
const floppy_image_format_t::desc_e dc42_format::mac_gcr[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user