diff options
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Plugins/Plugin_DSP_HLE/Src/Logging/Console.cpp | 20 | ||||
| -rw-r--r-- | 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 <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', |
