From 595e277a87283af5bca1ec565b59ae0ec8b9485f Mon Sep 17 00:00:00 2001 From: "Jake.Stine" Date: Tue, 29 Jun 2010 04:21:07 +0000 Subject: [PATCH] Crispy christ, I need to remember to wait for the WHOLE solution to rebuild before making commits, no matter how much the wait kills me. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3341 96395faa-99c1-11dd-bbfe-3dabce05a288 --- pcsx2/windows/WinConsolePipe.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/windows/WinConsolePipe.cpp b/pcsx2/windows/WinConsolePipe.cpp index d19a80ee8b..f211706905 100644 --- a/pcsx2/windows/WinConsolePipe.cpp +++ b/pcsx2/windows/WinConsolePipe.cpp @@ -178,11 +178,11 @@ WinPipeRedirection::WinPipeRedirection( FILE* stdstream ) m_crtFile = _open_osfhandle( (intptr_t)m_writepipe, _O_TEXT ); if( m_crtFile == -1 ) - throw Exception::RuntimeError().SetDiagMsg( "_open_osfhandle returned -1." ); + throw Exception::RuntimeError().SetDiagMsg( L"_open_osfhandle returned -1." ); m_fp = _fdopen( m_crtFile, "w" ); if( m_fp == NULL ) - throw Exception::RuntimeError().SetDiagMsg( "_fdopen returned NULL." ); + throw Exception::RuntimeError().SetDiagMsg( L"_fdopen returned NULL." ); *m_stdfp = *m_fp; // omg hack. but it works >_< setvbuf( stdstream, NULL, _IONBF, 0 );