mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-14 14:02:30 -05:00
PowerPC: Convert CoreMode enum into an enum class
Prevents constants from polluting the namespace.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user