From: Toni Wilen Date: Sat, 1 Feb 2020 12:25:40 +0000 (+0200) Subject: Max allowed CHS head is 16. X-Git-Tag: 4400~146 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=d6335200dc41b4ddb75b0553537fdbd9582b3d25;p=francis%2Fwinuae.git Max allowed CHS head is 16. --- diff --git a/od-win32/hardfile_win32.cpp b/od-win32/hardfile_win32.cpp index 05d68f0b..f38206f5 100644 --- a/od-win32/hardfile_win32.cpp +++ b/od-win32/hardfile_win32.cpp @@ -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; }