1
0
Fork 0

stdprn is now really prn and you can't read from it. Fixes a weird runtime that reads the PRN handle.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3858
This commit is contained in:
Peter Veenstra 2014-01-12 13:43:47 +00:00
parent 14ac0f241f
commit ee0367653b
2 changed files with 5 additions and 1 deletions

View file

@ -651,7 +651,7 @@ void SHELL_Init() {
DOS_ForceDuplicateEntry(1,0); /* "new" STDIN */
DOS_ForceDuplicateEntry(1,2); /* STDERR */
DOS_OpenFile("CON",OPEN_READWRITE,&dummy); /* STDAUX */
DOS_OpenFile("CON",OPEN_READWRITE,&dummy); /* STDPRN */
DOS_OpenFile("PRN",OPEN_READWRITE,&dummy); /* STDPRN */
psp.SetParent(psp_seg);
/* Set the environment */