From fa27a97fbb4939b84636c91c9a8dcabf38198053 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Wed, 7 Jan 2009 02:59:19 +0000 Subject: Wiimote: 1) I fixed the emulated Nunchuck in Zelda - TP, however I chose the minimum workable delay time that worked in my PC, in fact it's so short that the Nunchuck still fails sometimes. If you have a very fast PC or something like that so that the Nunchuck still don't work please let me know. 2) I also made the Wiimote work after Stop and Start 3) I changed /Dev/USB to initialize the emulated Wiimote directly after ScanEnable, not wait for any countdown git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1814 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/DynamicLibrary.cpp | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'Source/Core/Common/Src/DynamicLibrary.cpp') diff --git a/Source/Core/Common/Src/DynamicLibrary.cpp b/Source/Core/Common/Src/DynamicLibrary.cpp index 418d015b5b..53da3e21aa 100644 --- a/Source/Core/Common/Src/DynamicLibrary.cpp +++ b/Source/Core/Common/Src/DynamicLibrary.cpp @@ -15,6 +15,19 @@ // Official SVN repository and contact information can be found at // http://code.google.com/p/dolphin-emu/ + +////////////////////////////////////////////////////////////////////////////////////////// +// File description +/* ŻŻŻŻŻŻŻŻŻŻŻŻŻ + +All plugins from Core > Plugins are loaded and unloaded with this class when Dolpin is started +and stopped. +//////////////////////////////////////*/ + + +////////////////////////////////////////////////////////////////////////////////////////// +// Includes +// ŻŻŻŻŻŻŻŻŻŻŻŻŻ #include #ifdef _WIN32 #include @@ -27,6 +40,9 @@ #include "FileUtil.h" #include "StringUtil.h" #include "DynamicLibrary.h" +#include "../../../../Branches/MusicMod/Common/Src/Console.h" +/////////////////////////////////// + DynamicLibrary::DynamicLibrary() { @@ -138,9 +154,10 @@ void* DynamicLibrary::Get(const char* funcname) const retval = dlsym(library, funcname); #endif - if (!retval) { + if (!retval) + { LOG(MASTER_LOG, "Symbol %s missing in %s (error: %s)\n", funcname, library_file.c_str(), GetLastErrorAsString().c_str()); - PanicAlert("Symbol %s missing in %s (error: %s)\n", funcname, library_file.c_str(), GetLastErrorAsString().c_str()); + //PanicAlert("Symbol %s missing in %s (error: %s)\n", funcname, library_file.c_str(), GetLastErrorAsString().c_str()); } return retval; -- cgit v1.2.3