summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
diff options
context:
space:
mode:
authorDolphin Bot <dolphin-emu-bot@users.noreply.github.com>2014-07-10 21:02:47 +0200
committerDolphin Bot <dolphin-emu-bot@users.noreply.github.com>2014-07-10 21:02:47 +0200
commitbc655d1a8246cb3be69900446a050ffbafcee14f (patch)
tree2a1a9f189b0fac4bac33d7c9d84e148717712904 /Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
parent15c1250d9d3f7aa7821a142582d63f38f782f15a (diff)
parent4df00ae5441aefe8a13548152036f91dd3e4dda0 (diff)
Merge pull request #515 from Armada651/threading
Make the emulation stop asynchronous to prevent deadlocks.
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
index 41abb27300..9f3c081c16 100644
--- a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
+++ b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
@@ -219,7 +219,7 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
{
Parent->ClearStatusBar();
- if (Core::GetState() == Core::CORE_UNINITIALIZED) return;
+ if (!Core::IsRunning()) return;
std::string existing_map_file, writable_map_file;
bool map_exists = CBoot::FindMapFile(&existing_map_file,