]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fixed DD/HD autodetection.
authorToni Wilen <twilen@winuae.net>
Wed, 22 Jun 2016 09:44:38 +0000 (12:44 +0300)
committerToni Wilen <twilen@winuae.net>
Wed, 22 Jun 2016 09:44:38 +0000 (12:44 +0300)
disk.cpp

index 062b5fd4c5ef59058c4b2ab673648575a336ae5f..5989c907352cf8e0d51ad394bd002079e2f1b1fa 100644 (file)
--- 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) {