summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJohn Peterson <jpeterson57@gmail.com>2009-11-12 21:14:41 +0000
committerJohn Peterson <jpeterson57@gmail.com>2009-11-12 21:14:41 +0000
commit18450737beab7c9cd826ea7cc5380e2f48b0eae7 (patch)
treea6c341d004d57d4bc0f29bbe718aeaf3e42e9996 /Source/Core
parent7f66fe1ef623fd648505c201f7129e483c1073b1 (diff)
Gamepads (minor change) > Fixed it so it doesn't always check for new pads on startup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4543 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/Src/ConsoleListener.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/ConsoleListener.cpp b/Source/Core/Common/Src/ConsoleListener.cpp
index ff4e0b3c90..c987f3c441 100644
--- a/Source/Core/Common/Src/ConsoleListener.cpp
+++ b/Source/Core/Common/Src/ConsoleListener.cpp
@@ -253,8 +253,10 @@ void ConsoleListener::PixelSpace(int Left, int Top, int Width, int Height, bool
void ConsoleListener::CustomLog(const char *Text)
{
+ #ifdef _WIN32
DWORD cCharsWritten;
WriteConsole(hConsole, Text, (DWORD)strlen(Text), &cCharsWritten, NULL);
+ #endif
}
void ConsoleListener::Log(LogTypes::LOG_LEVELS Level, const char *Text)