summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2017-02-04 19:18:13 -0500
committerLioncash <mathew1800@gmail.com>2017-02-04 19:34:56 -0500
commitf7b9db9846581a3b62042d8892c86c1e48f443ba (patch)
treed75c094c13cec4cea7310c92039cd9fd56755228 /Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
parent529dc6aa5330cdd50e17ccbdbe35600f29573c7a (diff)
PowerPC: Convert CoreMode enum into an enum class
Prevents constants from polluting the namespace.
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 f29e230565..9704a4f362 100644
--- a/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
+++ b/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp
@@ -133,7 +133,7 @@ void CCodeWindow::OnProfilerMenu(wxCommandEvent& event)
if (Core::GetState() == Core::CORE_RUN)
Core::SetState(Core::CORE_PAUSE);
- if (Core::GetState() == Core::CORE_PAUSE && PowerPC::GetMode() == PowerPC::MODE_JIT)
+ if (Core::GetState() == Core::CORE_PAUSE && PowerPC::GetMode() == PowerPC::CoreMode::JIT)
{
if (g_jit != nullptr)
{