mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Bad OG, no cookie, nw either
This commit is contained in:
parent
c2e7dfc183
commit
239d09546f
@ -498,7 +498,7 @@ bool imd_format::load(io_generic *io, UINT32 form_factor, floppy_image *image)
|
||||
build_pc_track_mfm(track, head, image, cell_count, sector_count, sects, gap_3);
|
||||
|
||||
for(int i=0; i<sector_count; i++)
|
||||
if(sects[i].data && (sects[i].data < &img[0] || sects[i].data >= &img[size]))
|
||||
if(sects[i].data && (sects[i].data < &img[0] || sects[i].data >= (&img[0] + size)))
|
||||
global_free_array(sects[i].data);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user