From 9e0439a1939ba5b0fec4fbac8eaa9ea27f458e76 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Mon, 8 Dec 2008 00:25:01 +0000 Subject: Elf loader etc: Added command line elf loader so I can build and run homebrew with F5, use it with -e file.elf. Made some comments towards finding why lwbt fails to complete the HCI negotiation. I found that it worked in revision 800 so I will try to figure out what broke it along the way. Made some other small changes. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1432 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/DynamicLibrary.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Source/Core/Common/Src/DynamicLibrary.cpp') diff --git a/Source/Core/Common/Src/DynamicLibrary.cpp b/Source/Core/Common/Src/DynamicLibrary.cpp index b8fa470705..70ffe82347 100644 --- a/Source/Core/Common/Src/DynamicLibrary.cpp +++ b/Source/Core/Common/Src/DynamicLibrary.cpp @@ -110,6 +110,11 @@ void 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) FreeLibrary(library); #else -- cgit v1.2.3