summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src
diff options
context:
space:
mode:
authorJohn Peterson <jpeterson57@gmail.com>2009-11-12 18:57:35 +0000
committerJohn Peterson <jpeterson57@gmail.com>2009-11-12 18:57:35 +0000
commit71506bc0f7c7fcf445a71d7973c3cebc73dd0ba6 (patch)
tree749d3f053cd067c9401b6a91e83c76adb06d035b /Source/Core/Common/Src
parentb858befba24c8a31cab82dd7534b91e5606db5e9 (diff)
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
Diffstat (limited to 'Source/Core/Common/Src')
-rw-r--r--Source/Core/Common/Src/ConsoleListener.cpp6
-rw-r--r--Source/Core/Common/Src/LogManager.h1
2 files changed, 7 insertions, 0 deletions
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);