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
This commit is contained in:
Jake.Stine 2010-06-29 04:21:07 +00:00
parent b0524d051c
commit 595e277a87
1 changed files with 2 additions and 2 deletions

View File

@ -178,11 +178,11 @@ WinPipeRedirection::WinPipeRedirection( FILE* stdstream )
m_crtFile = _open_osfhandle( (intptr_t)m_writepipe, _O_TEXT ); m_crtFile = _open_osfhandle( (intptr_t)m_writepipe, _O_TEXT );
if( m_crtFile == -1 ) 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" ); m_fp = _fdopen( m_crtFile, "w" );
if( m_fp == NULL ) 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 >_< *m_stdfp = *m_fp; // omg hack. but it works >_<
setvbuf( stdstream, NULL, _IONBF, 0 ); setvbuf( stdstream, NULL, _IONBF, 0 );