From 71506bc0f7c7fcf445a71d7973c3cebc73dd0ba6 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Thu, 12 Nov 2009 18:57:35 +0000 Subject: Wiimote and nJoy > Gamepad changes 1. Added LiveUpdates, while the configuration window is open nJoy and Wiimote will check for connected/disconnected pads 2. Removed the 'Nintendo RVL-CNT-01' device from the device list, and other SDL devices with no axes/buttons 3. Added SDL (from the current SVN) to get debugging information for SDL.dll 4. Added 'Upright Wiimote' option to emulated Wiimote options git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4534 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/ConsoleListener.cpp | 6 ++++++ Source/Core/Common/Src/LogManager.h | 1 + 2 files changed, 7 insertions(+) (limited to 'Source/Core/Common') diff --git a/Source/Core/Common/Src/ConsoleListener.cpp b/Source/Core/Common/Src/ConsoleListener.cpp index 87f69c86e9..ff4e0b3c90 100644 --- a/Source/Core/Common/Src/ConsoleListener.cpp +++ b/Source/Core/Common/Src/ConsoleListener.cpp @@ -251,6 +251,12 @@ void ConsoleListener::PixelSpace(int Left, int Top, int Width, int Height, bool #endif } +void ConsoleListener::CustomLog(const char *Text) +{ + DWORD cCharsWritten; + WriteConsole(hConsole, Text, (DWORD)strlen(Text), &cCharsWritten, NULL); +} + void ConsoleListener::Log(LogTypes::LOG_LEVELS Level, const char *Text) { #if defined(_WIN32) diff --git a/Source/Core/Common/Src/LogManager.h b/Source/Core/Common/Src/LogManager.h index 232bf6901f..e6772b9535 100644 --- a/Source/Core/Common/Src/LogManager.h +++ b/Source/Core/Common/Src/LogManager.h @@ -83,6 +83,7 @@ public: #ifdef _WIN32 COORD GetCoordinates(int BytesRead, int BufferWidth); #endif + void CustomLog(const char *Text); void Log(LogTypes::LOG_LEVELS, const char *Text); void ClearScreen(bool Cursor = true); -- cgit v1.2.3