summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
author mahlemiut <mahlemiut@users.noreply.github.com>2014-07-15 10:43:28 +0000
committer mahlemiut <mahlemiut@users.noreply.github.com>2014-07-15 10:43:28 +0000
commita57151a7da27a07cc0e2896937cdb494af766990 (patch)
treef8e85061cb8701ebcc6c5aba91d4fc2d42132071 /src/lib
parent3c8173afd7b1d0cdc264ccace4f0122b03dbc593 (diff)
gimix: corrected FDC clock, Gimix Flex 4.3 is now bootable.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/formats/flex_dsk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/formats/flex_dsk.c b/src/lib/formats/flex_dsk.c
index 69522315af1..e8f1c59b332 100644
--- a/src/lib/formats/flex_dsk.c
+++ b/src/lib/formats/flex_dsk.c
@@ -42,7 +42,7 @@ bool flex_format::load(io_generic *io, UINT32 form_factor, floppy_image *image)
{
int spt = info.last_sec;
int bps = 256;
- int cell_count = 100000;
+ int cell_count = 50000;
int offset = 0;
int head_num = 1;
int total_tracks = info.last_trk+1;
@@ -56,6 +56,8 @@ bool flex_format::load(io_generic *io, UINT32 form_factor, floppy_image *image)
double_sided = true;
if(total_tracks == 80 && spt == 72) // 1.44MB
double_sided = true;
+ if(spt >= 20)
+ double_sided = true;
if(double_sided)
{