diff options
| author | nakeee <nakeee@gmail.com> | 2009-01-31 23:47:45 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2009-01-31 23:47:45 +0000 |
| commit | 529bf35d6a87db16e0e2fb0bf775719755e98299 (patch) | |
| tree | 68ced241775b36db2e43870e046f1d713454b70d /Source/Core/Common/Src/PluginVideo.cpp | |
| parent | f8064316b13154de67bb6e4b384e1487f6b14d6f (diff) | |
trying to clean all plugins on shutdown
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2047 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/PluginVideo.cpp')
| -rw-r--r-- | Source/Core/Common/Src/PluginVideo.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/PluginVideo.cpp b/Source/Core/Common/Src/PluginVideo.cpp index b3330a42ed..d4176ee938 100644 --- a/Source/Core/Common/Src/PluginVideo.cpp +++ b/Source/Core/Common/Src/PluginVideo.cpp @@ -3,6 +3,14 @@ namespace Common { PluginVideo::PluginVideo(const char *_Filename) : CPlugin(_Filename), validVideo(false) { + Video_Prepare = 0; + Video_SendFifoData = 0; + Video_UpdateXFB = 0; + Video_EnterLoop = 0; + Video_Screenshot = 0; + Video_AddMessage = 0; + Video_Stop = 0; + Video_Prepare = reinterpret_cast<TVideo_Prepare> (LoadSymbol("Video_Prepare")); Video_SendFifoData = reinterpret_cast<TVideo_SendFifoData> @@ -28,6 +36,5 @@ namespace Common { validVideo = true; } - PluginVideo::~PluginVideo() { - } + PluginVideo::~PluginVideo() {} } |
