mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
CPU: Convert state enum to an enum class
Gets enum constants out of the immediate namespace. Also makes it strongly typed like the other state enums.
This commit is contained in:
@ -29,7 +29,7 @@ JitBase::~JitBase() = default;
|
||||
|
||||
bool JitBase::CanMergeNextInstructions(int count) const
|
||||
{
|
||||
if (CPU::GetState() == CPU::CPU_STEPPING || js.instructionsLeft < count)
|
||||
if (CPU::IsStepping() || js.instructionsLeft < count)
|
||||
return false;
|
||||
// Be careful: a breakpoint kills flags in between instructions
|
||||
for (int i = 1; i <= count; i++)
|
||||
|
Reference in New Issue
Block a user