]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Max allowed CHS head is 16.
authorToni Wilen <twilen@winuae.net>
Sat, 1 Feb 2020 12:25:40 +0000 (14:25 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 1 Feb 2020 12:25:40 +0000 (14:25 +0200)
od-win32/hardfile_win32.cpp

index 05d68f0ba547314825fc39193f32e182eb4fc5ec..f38206f5470b52d7467674d2f644f86355f787a6 100644 (file)
@@ -1462,7 +1462,7 @@ static int gethdfchs(HWND hDlg, struct uae_driveinfo *udi, HANDLE h, int *cylsp,
                err = -13;
                goto end;
        }
-       if (secs >= 256 || heads >= 16 || cyls > 2048) {
+       if (secs >= 256 || heads > 16 || cyls > 2048) {
                err = -14;
                goto end;
        }