From: Toni Wilen Date: Wed, 22 Jun 2016 09:44:38 +0000 (+0300) Subject: Fixed DD/HD autodetection. X-Git-Tag: 3400~129 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=5ba591fa6227c2a7f02c570da390db4580596efb;p=francis%2Fwinuae.git Fixed DD/HD autodetection. --- diff --git a/disk.cpp b/disk.cpp index 062b5fd4..5989c907 100644 --- a/disk.cpp +++ b/disk.cpp @@ -4216,7 +4216,7 @@ int DISK_examine_image (struct uae_prefs *p, int num, struct diskinfo *di) di->crc32 = zfile_crc32 (drv->diskfile); di->unreadable = false; decode_buffer (drv->bigmfmbuf, drv->cyl, 11, drv->ddhd, drv->filetype, &drvsec, sectable, 1); - di->hd = drvsec == 22; + di->hd = drv->ddhd == 2; drv->cyl = oldcyl; side = oldside; if (sectable[0] == 0 || sectable[1] == 0) {