summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJohn Peterson <jpeterson57@gmail.com>2009-02-09 23:20:28 +0000
committerJohn Peterson <jpeterson57@gmail.com>2009-02-09 23:20:28 +0000
commit3d70ea1bcba7fce4cfe635f833baf2056ec13e14 (patch)
treed4195dbc3b84403edfc97e511d1944a058ae8314 /Source/Core
parent72424eeadc3b25159b0c1d12b1328884c42b0fde (diff)
PadSimple: Removed double definition of __Log()
Core: Readded FreeVideo and FreeDSP for _WIN32. As I have explained thoroughly these are needed in Windows. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2192 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/Core.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/Core/Src/Core.cpp b/Source/Core/Core/Src/Core.cpp
index f49d7eb3d7..b16f3d98b1 100644
--- a/Source/Core/Core/Src/Core.cpp
+++ b/Source/Core/Core/Src/Core.cpp
@@ -321,6 +321,9 @@ THREAD_RETURN EmuThread(void *pArg)
VideoInitialize.bWii = _CoreParameter.bWii;
VideoInitialize.bUseDualCore = _CoreParameter.bUseDualCore;
// Needed for Stop and Start
+ #ifdef _WIN32
+ Plugins.FreeVideo();
+ #endif
Plugins.GetVideo()->Initialize(&VideoInitialize); // Call the dll
// Under linux, this is an X11 Display, not an HWND!
@@ -342,6 +345,9 @@ THREAD_RETURN EmuThread(void *pArg)
dspInit.pEmulatorState = (int *)&PowerPC::state;
dspInit.bWii = _CoreParameter.bWii;
// Needed for Stop and Start
+ #ifdef _WIN32
+ Plugins.FreeDSP();
+ #endif
Plugins.GetDSP()->Initialize((void *)&dspInit);
// Load and Init PadPlugin