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:
		
							parent
							
								
									a5d561a3ad
								
							
						
					
					
						commit
						fab69cb4c7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue