Limited hard drive head count to 16.
This commit is contained in:
parent
f339f00315
commit
1ef98a475f
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
MessageBox(ghwnd, "Drive has too many sectors (maximum is 63)", "PCem error", MB_OK);
|
||||||
return TRUE;
|
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);
|
MessageBox(ghwnd, "Drive has too many heads (maximum is 128)", "PCem error", MB_OK);
|
||||||
return TRUE;
|
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);
|
MessageBox(ghwnd,"Drive has too many sectors (maximum is 63)","PCem error",MB_OK);
|
||||||
return TRUE;
|
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);
|
MessageBox(ghwnd,"Drive has too many heads (maximum is 128)","PCem error",MB_OK);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue