Improve MFM/RLL/ESDI CD-ROM error message

This commit is contained in:
RichardG867
2020-06-18 21:23:34 -03:00
parent a5e14f2ae7
commit a3d6e4aa4e
3 changed files with 3 additions and 4 deletions

View File

@@ -49,7 +49,7 @@ hdd_string_to_bus(char *str, int cdrom)
if (! strcmp(str, "mfm")) {
if (cdrom) {
no_cdrom:
ui_msgbox(MBX_ERROR, (wchar_t *)IDS_4099);
ui_msgbox_header(MBX_ERROR, (wchar_t *) IDS_2130, (wchar_t *) IDS_4099);
return(0);
}
@@ -93,9 +93,6 @@ no_cdrom:
if (! strcmp(str, "scsi"))
return(HDD_BUS_SCSI);
if (! strcmp(str, "usb"))
ui_msgbox(MBX_ERROR, (wchar_t *)IDS_4110);
return(0);
}

View File

@@ -103,6 +103,7 @@
#define IDS_2127 2127 // "OK"
#define IDS_2128 2128 // "Hardware not available"
#define IDS_2129 2129 // "Make sure " PCAP " is installed..."
#define IDS_2130 2130 // "Invalid configuration"
#define IDS_4096 4096 // "Hard disk (%s)"
#define IDS_4097 4097 // "%01i:%01i"

View File

@@ -972,6 +972,7 @@ BEGIN
#define PCAP "libpcap"
#endif
IDS_2129 "Make sure " PCAP " is installed and that you are on a " PCAP "-compatible network connection."
IDS_2130 "Invalid configuration"
END
STRINGTABLE DISCARDABLE