better diagnostics for win32 console startup
This commit is contained in:
parent
aff85d5885
commit
a71fe428c2
|
@ -155,7 +155,7 @@ namespace BizHawk.MultiClient
|
|||
if (Win32.AllocConsole())
|
||||
hasConsole = true;
|
||||
else
|
||||
System.Windows.Forms.MessageBox.Show("Couldn't allocate win32 console: {0}" + Marshal.GetLastWin32Error());
|
||||
System.Windows.Forms.MessageBox.Show(string.Format("Couldn't allocate win32 console: {0}", Marshal.GetLastWin32Error()));
|
||||
}
|
||||
|
||||
if(hasConsole)
|
||||
|
@ -174,6 +174,7 @@ namespace BizHawk.MultiClient
|
|||
}
|
||||
|
||||
DotNetRewireConout();
|
||||
hasConsole = true;
|
||||
|
||||
if (attachedConsole)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue