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:
1 parent
85d74a506f
commit
8d98ac6509
17 files changed
+68
-56
No files matched your search
@@ -107,7 +107,7 @@ void CachedInterpreter::ExecuteOneBlock()
|
||||
|
||||
void CachedInterpreter::Run()
|
||||
{
|
||||
while (CPU::GetState() == CPU::CPU_RUNNING)
|
||||
while (CPU::GetState() == CPU::State::Running)
|
||||
{
|
||||
// Start new timing slice
|
||||
// NOTE: Exceptions may change PC
|
||||
|
||||
Reference in new issue
Block a user