From fcca902bc8120d72add754f48d47b4e58613232c Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Mon, 1 Sep 2003 08:08:22 +0000 Subject: [PATCH] Always allocate a console Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1212 --- src/debug/debug_win32.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/debug/debug_win32.cpp b/src/debug/debug_win32.cpp index 33c1ea54..cfed35e1 100644 --- a/src/debug/debug_win32.cpp +++ b/src/debug/debug_win32.cpp @@ -68,8 +68,7 @@ static void ResizeConsole( HANDLE hConsole, SHORT xSize, SHORT ySize ) { void WIN32_Console() { + AllocConsole(); ResizeConsole(GetStdHandle(STD_OUTPUT_HANDLE),80,50); - - } #endif