From f650cb19e414e5d047deba8a2196a7c583f0919a Mon Sep 17 00:00:00 2001 From: nakeee Date: Sat, 4 Oct 2008 22:22:29 +0000 Subject: [PATCH] added console.cpp to HLE on linux git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@773 8ced0084-cf51-0410-be5f-012b33b47a6e --- .../Plugin_DSP_HLE/Src/Logging/Console.cpp | 20 ++++++++----------- Source/Plugins/Plugin_DSP_HLE/Src/SConscript | 1 + 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/Logging/Console.cpp b/Source/Plugins/Plugin_DSP_HLE/Src/Logging/Console.cpp index 6859abef6e..d2a354da2f 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/Logging/Console.cpp +++ b/Source/Plugins/Plugin_DSP_HLE/Src/Logging/Console.cpp @@ -17,20 +17,15 @@ -// --------------------------------------------------------------------------------------- -// Includes -// -------------------- #include #include #ifdef _WIN32 - #include +#include #endif -// -------------------- -// --------------------------------------------------------------------------------------- + // On and off -// -------------------- bool g_consoleEnable = true; #define DEBUGG //#define DEBUGG_FILEONLY @@ -38,14 +33,15 @@ bool g_consoleEnable = true; // -------------------- -// --------------------------------------------------------------------------------------- // Create handles -// -------------------- + #ifdef DEBUGG - FILE* __fStdOut = NULL; +FILE* __fStdOut = NULL; #endif #ifndef DEBUGG_FILEONLY - HANDLE __hStdOut = NULL; +#ifdef _WIN32 +HANDLE __hStdOut = NULL; +#endif #endif // -------------------- @@ -193,4 +189,4 @@ HWND GetConsoleHwnd(void) return(hwndFound); } -#endif // win32 \ No newline at end of file +#endif // win32 diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/SConscript b/Source/Plugins/Plugin_DSP_HLE/Src/SConscript index 34408db767..73bc294ed7 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/SConscript +++ b/Source/Plugins/Plugin_DSP_HLE/Src/SConscript @@ -19,6 +19,7 @@ files = [ 'Debugger/Debugger.cpp', 'Debugger/PBView.cpp', 'Logging/Logging.cpp', + 'Logging/Console.cpp', 'UCodes/UCode_AX.cpp', 'UCodes/UCode_CARD.cpp', 'UCodes/UCode_InitAudioSystem.cpp',