summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/Plugin.cpp
diff options
context:
space:
mode:
authorJohn Peterson <jpeterson57@gmail.com>2009-01-24 12:09:30 +0000
committerJohn Peterson <jpeterson57@gmail.com>2009-01-24 12:09:30 +0000
commitfa7e857161a249ac75386070273dc39ecda51f89 (patch)
tree529c6a509351eb760e76da69df70235066b60ed4 /Source/Core/Common/Src/Plugin.cpp
parentfb3e523401c27f698070b3f2a522846d9370d261 (diff)
nJoy: Readded some fixes to nJoy (Notice: these changes have nothing to do with the argument earlier. These are only for fixing nJoy (point one and three in the 1991 revision)). Now opening the Wiimote plugin doesn't crash either (it was just a typo in GetWiimote()).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2000 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/Plugin.cpp')
-rw-r--r--Source/Core/Common/Src/Plugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/Plugin.cpp b/Source/Core/Common/Src/Plugin.cpp
index 15bd184bcf..35c5026086 100644
--- a/Source/Core/Common/Src/Plugin.cpp
+++ b/Source/Core/Common/Src/Plugin.cpp
@@ -64,6 +64,8 @@ CPlugin::CPlugin(const char* _szName) : valid(false)
m_DoState != 0)
valid = true;
+ // Save the filename for this plugin
+ Filename = _szName;
}
void *CPlugin::LoadSymbol(const char *sym) {