From c9bed2efa7d38289c210f447d198c3a32a784b05 Mon Sep 17 00:00:00 2001 From: Jasmine Iwanek Date: Wed, 19 Jan 2022 16:00:47 -0500 Subject: [PATCH] Correct SPC for 160 and 180k floppies --- src/win/win_new_floppy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/win/win_new_floppy.c b/src/win/win_new_floppy.c index b692a070e..4d9d8d23b 100644 --- a/src/win/win_new_floppy.c +++ b/src/win/win_new_floppy.c @@ -52,8 +52,8 @@ typedef struct { } disk_size_t; -static const disk_size_t disk_sizes[14] = { { 0, 1, 2, 1, 0, 40, 8, 2, 0xfe, 2, 2, 1, 64 }, /* 160k */ - { 0, 1, 2, 1, 0, 40, 9, 2, 0xfc, 2, 2, 1, 64 }, /* 180k */ +static const disk_size_t disk_sizes[14] = { { 0, 1, 2, 1, 0, 40, 8, 2, 0xfe, 1, 2, 1, 64 }, /* 160k */ + { 0, 1, 2, 1, 0, 40, 9, 2, 0xfc, 1, 2, 2, 64 }, /* 180k */ { 0, 2, 2, 1, 0, 40, 8, 2, 0xff, 2, 2, 1, 112 }, /* 320k */ { 0, 2, 2, 1, 0, 40, 9, 2, 0xfd, 2, 2, 2, 112 }, /* 360k */ { 0, 2, 2, 1, 0, 80, 8, 2, 0xfb, 2, 2, 2, 112 }, /* 640k */