PowerPC: Convert CoreMode enum into an enum class

Prevents constants from polluting the namespace.
This commit is contained in:
Lioncash 2017-02-04 19:18:13 -05:00
parent 529dc6aa53
commit f7b9db9846
7 changed files with 21 additions and 24 deletions

View file

@ -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)
{