krnl386: Create a new console for DOS binaries.

This commit is contained in:
Alexandre Julliard 2013-06-27 13:39:08 +02:00
parent 44e69805e9
commit 3d8d9f2e51
1 changed files with 2 additions and 0 deletions

View File

@ -433,6 +433,8 @@ void __wine_load_dos_exe( LPCSTR filename, LPCSTR cmdline )
}
}
AllocConsole();
if (MZ_DoLoadImage( hFile, filename, NULL, 0 ))
{
DWORD err = MZ_Launch( dos_cmdtail, dos_length );