summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/DynamicLibrary.cpp
diff options
context:
space:
mode:
authorJohn Peterson <jpeterson57@gmail.com>2009-01-07 02:59:19 +0000
committerJohn Peterson <jpeterson57@gmail.com>2009-01-07 02:59:19 +0000
commitfa27a97fbb4939b84636c91c9a8dcabf38198053 (patch)
tree7233ee8621f6e50bb6cab630c0a21b9874183df0 /Source/Core/Common/Src/DynamicLibrary.cpp
parent6125efabb11c04792aa43451f105a6cc008bb67e (diff)
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
Diffstat (limited to 'Source/Core/Common/Src/DynamicLibrary.cpp')
-rw-r--r--Source/Core/Common/Src/DynamicLibrary.cpp21
1 files changed, 19 insertions, 2 deletions
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 <string.h>
#ifdef _WIN32
#include <windows.h>
@@ -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;