summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2008-10-04 22:22:29 +0000
committernakeee <nakeee@gmail.com>2008-10-04 22:22:29 +0000
commitf650cb19e414e5d047deba8a2196a7c583f0919a (patch)
treed65ed6793a4a391dccdb32ff1015ea43e7f51056 /Source
parent717a0d51e1a1707a49a88e09389919fec6c76c12 (diff)
added console.cpp to HLE on linux
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@773 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-rw-r--r--Source/Plugins/Plugin_DSP_HLE/Src/Logging/Console.cpp20
-rw-r--r--Source/Plugins/Plugin_DSP_HLE/Src/SConscript1
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 <string>
#include <stdio.h>
#ifdef _WIN32
- #include <windows.h>
+#include <windows.h>
#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',