From f7b9db9846581a3b62042d8892c86c1e48f443ba Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 4 Feb 2017 19:18:13 -0500 Subject: PowerPC: Convert CoreMode enum into an enum class Prevents constants from polluting the namespace. --- Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp') 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) { -- cgit v1.2.3