From 1ef98a475fce001a41d1d73503c7ddc3f5f94f6e Mon Sep 17 00:00:00 2001 From: TomW Date: Sat, 22 Aug 2015 08:08:56 +0100 Subject: [PATCH] Limited hard drive head count to 16. --- src/win-hdconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/win-hdconf.c b/src/win-hdconf.c index 2d5be84..fa65e09 100644 --- a/src/win-hdconf.c +++ b/src/win-hdconf.c @@ -68,7 +68,7 @@ static BOOL CALLBACK hdnew_dlgproc(HWND hdlg, UINT message, WPARAM wParam, LPARA MessageBox(ghwnd, "Drive has too many sectors (maximum is 63)", "PCem error", MB_OK); return TRUE; } - if (hd_new_hpc > 128) + if (hd_new_hpc > 16) { MessageBox(ghwnd, "Drive has too many heads (maximum is 128)", "PCem error", MB_OK); return TRUE; @@ -170,7 +170,7 @@ BOOL CALLBACK hdsize_dlgproc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lPar MessageBox(ghwnd,"Drive has too many sectors (maximum is 63)","PCem error",MB_OK); return TRUE; } - if (hd_new_hpc > 128) + if (hd_new_hpc > 16) { MessageBox(ghwnd,"Drive has too many heads (maximum is 128)","PCem error",MB_OK); return TRUE;