1
0
Fork 0

Stuff written to the console needs a cariage return since 4114. Thanks for spotting this dreamer_.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4284
This commit is contained in:
Peter Veenstra 2019-11-12 13:31:23 +00:00
parent a5d561a3ad
commit fab69cb4c7

View file

@ -170,7 +170,7 @@ bool CDROM_Interface_Image::SetDevice(char* path, int forceCD)
// print error message on dosbox console
char buf[MAX_LINE_LENGTH];
snprintf(buf, MAX_LINE_LENGTH, "Could not load image file: %s\n", path);
snprintf(buf, MAX_LINE_LENGTH, "Could not load image file: %s\r\n", path);
Bit16u size = (Bit16u)strlen(buf);
DOS_WriteFile(STDOUT, (Bit8u*)buf, &size);
return false;