From a7a6ee9ed4ceef86807b294a1293a11851a673a7 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Wed, 7 Sep 2011 07:29:19 +0000 Subject: [PATCH] st_dsk: fix stupid bug (nw) --- src/lib/formats/st_dsk.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/formats/st_dsk.c b/src/lib/formats/st_dsk.c index b91173d7021..0b7fbd6a79f 100644 --- a/src/lib/formats/st_dsk.c +++ b/src/lib/formats/st_dsk.c @@ -605,9 +605,12 @@ const floppy_image_format_t::desc_e *const st_gen_format::desc_fcp_11[] = { void st_gen_format::generate(int track, int head, int track_count, int head_count, UINT8 *buffer, int sector_count, floppy_image *image) { - desc_s sectors[11]; - for(int i=0; i