added console.cpp to HLE on linux

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@773 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-10-04 22:22:29 +00:00
parent 717a0d51e1
commit f650cb19e4
2 changed files with 9 additions and 12 deletions

View File

@ -17,20 +17,15 @@
// ---------------------------------------------------------------------------------------
// Includes
// --------------------
#include <string> #include <string>
#include <stdio.h> #include <stdio.h>
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
#endif #endif
// --------------------
// ---------------------------------------------------------------------------------------
// On and off // On and off
// --------------------
bool g_consoleEnable = true; bool g_consoleEnable = true;
#define DEBUGG #define DEBUGG
//#define DEBUGG_FILEONLY //#define DEBUGG_FILEONLY
@ -38,14 +33,15 @@ bool g_consoleEnable = true;
// -------------------- // --------------------
// ---------------------------------------------------------------------------------------
// Create handles // Create handles
// --------------------
#ifdef DEBUGG #ifdef DEBUGG
FILE* __fStdOut = NULL; FILE* __fStdOut = NULL;
#endif #endif
#ifndef DEBUGG_FILEONLY #ifndef DEBUGG_FILEONLY
HANDLE __hStdOut = NULL; #ifdef _WIN32
HANDLE __hStdOut = NULL;
#endif
#endif #endif
// -------------------- // --------------------
@ -193,4 +189,4 @@ HWND GetConsoleHwnd(void)
return(hwndFound); return(hwndFound);
} }
#endif // win32 #endif // win32

View File

@ -19,6 +19,7 @@ files = [
'Debugger/Debugger.cpp', 'Debugger/Debugger.cpp',
'Debugger/PBView.cpp', 'Debugger/PBView.cpp',
'Logging/Logging.cpp', 'Logging/Logging.cpp',
'Logging/Console.cpp',
'UCodes/UCode_AX.cpp', 'UCodes/UCode_AX.cpp',
'UCodes/UCode_CARD.cpp', 'UCodes/UCode_CARD.cpp',
'UCodes/UCode_InitAudioSystem.cpp', 'UCodes/UCode_InitAudioSystem.cpp',