mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-19 11:23:16 +08:00
enhanced serial ports
This commit is contained in:
@@ -76,7 +76,11 @@ void LoadMessageFile(const char * fname) {
|
||||
FILE * mfile=fopen(fname,"rt");
|
||||
/* This should never happen and since other modules depend on this use a normal printf */
|
||||
if (!mfile) {
|
||||
E_Exit("MSG:Can't load messages: %s",fname);
|
||||
std::string message="Could not load language message file '"+std::string(fname)+"'. The default language will be used.";
|
||||
bool systemmessagebox(char const * aTitle, char const * aMessage, char const * aDialogType, char const * aIconType, int aDefaultButton);
|
||||
systemmessagebox("Warning", message.c_str(), "ok","warning", 1);
|
||||
LOG_MSG("MSG:Cannot load language file: %s",fname);
|
||||
return;
|
||||
}
|
||||
char linein[LINE_IN_MAXLEN];
|
||||
char name[LINE_IN_MAXLEN];
|
||||
|
Reference in New Issue
Block a user