diff options
| author | Matthew Parlane <parlane@gmail.com> | 2017-01-08 13:19:16 +1300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-08 13:19:16 +1300 |
| commit | 7a5fe4b7ed64be587118afc34aa42c83dc733812 (patch) | |
| tree | e248b52938a6109fc98e01315493723ba50eac03 /Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp | |
| parent | c89aa79380cfa9dfd9bb9c52f0574f85e20aeece (diff) | |
| parent | 8bef7259e3a12f010bb744a140798aaa3cf17823 (diff) | |
Merge pull request #4624 from leoetlino/jit-warning-fixes
Add the g_ prefix to the jit global
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp index c71f377b42..f29e230565 100644 --- a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp +++ b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp @@ -124,8 +124,8 @@ void CCodeWindow::OnProfilerMenu(wxCommandEvent& event) { case IDM_PROFILE_BLOCKS: Core::SetState(Core::CORE_PAUSE); - if (jit != nullptr) - jit->ClearCache(); + if (g_jit != nullptr) + g_jit->ClearCache(); Profiler::g_ProfileBlocks = GetParentMenuBar()->IsChecked(IDM_PROFILE_BLOCKS); Core::SetState(Core::CORE_RUN); break; @@ -135,7 +135,7 @@ void CCodeWindow::OnProfilerMenu(wxCommandEvent& event) if (Core::GetState() == Core::CORE_PAUSE && PowerPC::GetMode() == PowerPC::MODE_JIT) { - if (jit != nullptr) + if (g_jit != nullptr) { std::string filename = File::GetUserPath(D_DUMP_IDX) + "Debug/profiler.txt"; File::CreateFullPath(filename); |
