diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2008-12-17 18:20:41 +0000 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2008-12-17 18:20:41 +0000 |
| commit | 0159a027e4fd7e5be2d9a2d4627a8fafdcb1328e (patch) | |
| tree | ba03e2bf95b6734ee312112387b32ad07bdabacb /Source/Core/Common/Src/DynamicLibrary.cpp | |
| parent | 62d44c91666e894a0807b6ba80dc527d29609da0 (diff) | |
remove a line that was meant to be temporary. I tested a bunch of times, and couldn't get it to hang.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1567 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/DynamicLibrary.cpp')
| -rw-r--r-- | Source/Core/Common/Src/DynamicLibrary.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/Core/Common/Src/DynamicLibrary.cpp b/Source/Core/Common/Src/DynamicLibrary.cpp index fa4b361677..84d9816f1d 100644 --- a/Source/Core/Common/Src/DynamicLibrary.cpp +++ b/Source/Core/Common/Src/DynamicLibrary.cpp @@ -26,7 +26,6 @@ #include "Common.h" #include "StringUtil.h" #include "DynamicLibrary.h" -#include "../../Core/Src/PowerPC/PowerPC.h" DynamicLibrary::DynamicLibrary() { @@ -116,13 +115,7 @@ int DynamicLibrary::Unload() #ifdef _WIN32 - /* TEMPORARY SOLUTION: To prevent that Dolphin hangs when a game is stopped - or when we try to close Dolphin. It's possible that it only occur when we render - to the main window. And sometimes FreeLibrary works without any problem, so - don't remove this just because it doesn't hang once. I could not find the - actual cause of it. */ - if( ! (library_file.find("OGL.") != std::string::npos) && !PowerPC::CPU_POWERDOWN) - retval = FreeLibrary(library); + retval = FreeLibrary(library); #else retval = dlclose(library)?0:1; #endif |
