DEV9: Increase min HDD size to 40gb

This commit is contained in:
TheLastRar 2021-05-16 22:18:37 +01:00 committed by lightningterror
parent 1af6979e88
commit 084c7db9ac
3 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ bool rx_fifo_can_rx();
#define HDD_DEF "DEV9hdd.raw"
#endif
#define HDD_MIN_GB 8
#define HDD_MIN_GB 40
#define HDD_MAX_GB 120
struct Config

View File

@ -75,7 +75,7 @@ BEGIN
LTEXT "HDD Size (GiB):",IDC_STATIC,26,258,60,8,SS_CENTERIMAGE
EDITTEXT IDC_HDDSIZE_TEXT,240,256,25,13,ES_AUTOHSCROLL | ES_NUMBER
CONTROL "",IDC_HDDSIZE_SPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_AUTOBUDDY | UDS_ARROWKEYS,265,256,11,13
LTEXT "8 GiB",IDC_STATIC,89,273,17,8
LTEXT "40 GiB",IDC_STATIC,86,273,21,8
LTEXT "120 GiB",IDC_STATIC,219,272,25,8,0,WS_EX_RIGHT
PUSHBUTTON "Browse",IDC_BROWSE,226,232,50,15
CONTROL "",IDC_IPADDRESS_IP,"SysIPAddress32",WS_TABSTOP,95,91,100,14

View File

@ -197,7 +197,7 @@ void OnInitDialog(HWND hW)
(WPARAM)0,
(LPARAM)10);
for (int i = 15; i < HDD_MAX_GB; i += 5)
for (int i = HDD_MIN_GB; i < HDD_MAX_GB; i += 5)
{
SendMessage(GetDlgItem(hW, IDC_HDDSIZE_SLIDER), TBM_SETTIC,
(WPARAM)0,