mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-15 15:42:38 +00:00
PowerPC: Convert CoreMode enum into an enum class
Prevents constants from polluting the namespace.
This commit is contained in:
parent
529dc6aa53
commit
f7b9db9846
7 changed files with 21 additions and 24 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue