From cdbd12696e9a36dbad37686c19a597ab843a31dc Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Mon, 11 Aug 2008 13:09:44 +0000 Subject: [PATCH] Map PRN to LPT1. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3202 --- src/dos/dos_devices.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dos/dos_devices.cpp b/src/dos/dos_devices.cpp index 64322323..0a2bfab4 100644 --- a/src/dos/dos_devices.cpp +++ b/src/dos/dos_devices.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: dos_devices.cpp,v 1.19 2007-09-27 19:34:43 qbix79 Exp $ */ +/* $Id: dos_devices.cpp,v 1.20 2008-08-11 13:09:44 qbix79 Exp $ */ #include #include "dosbox.h" @@ -125,6 +125,7 @@ Bit8u DOS_FindDevice(char const * name) { // STDAUX is alias for COM1 // A bit of a hack, but no application will probably use stdaux to determine wether a directory exists if (strcasecmp(name, "STDAUX") == 0) name = "COM1"; + if (strcasecmp(name, "PRN") == 0) name = "LPT1"; char temp[CROSS_LEN];//TODO if(!name || !(*name)) return DOS_DEVICES;