diff options
| author | John Peterson <jpeterson57@gmail.com> | 2008-12-08 00:25:01 +0000 |
|---|---|---|
| committer | John Peterson <jpeterson57@gmail.com> | 2008-12-08 00:25:01 +0000 |
| commit | 9e0439a1939ba5b0fec4fbac8eaa9ea27f458e76 (patch) | |
| tree | 8e852df1636e11c36a6573de94026b8074090220 /Source/Core/Common/Src/DynamicLibrary.cpp | |
| parent | 7f00e271e5d82528dfe9e92461156f2667fa1476 (diff) | |
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
Diffstat (limited to 'Source/Core/Common/Src/DynamicLibrary.cpp')
| -rw-r--r-- | Source/Core/Common/Src/DynamicLibrary.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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
|
