diff options
| author | Lioncash <mathew1800@gmail.com> | 2017-02-04 19:18:13 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2017-02-04 19:34:56 -0500 |
| commit | f7b9db9846581a3b62042d8892c86c1e48f443ba (patch) | |
| tree | d75c094c13cec4cea7310c92039cd9fd56755228 /Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp | |
| parent | 529dc6aa5330cdd50e17ccbdbe35600f29573c7a (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.cpp | 2 |
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) { |
