[Core] Simplify a loop within function Run() in Interpreter.cpp. The increment variable for the for loop is never used at all, so it's sensible to replace it with a while loop.
This commit is contained in:
parent
2d00c3a4f8
commit
a7d073b0da
|
@ -291,9 +291,9 @@ void Interpreter::Run()
|
|||
while (CoreTiming::downcount > 0)
|
||||
{
|
||||
m_EndBlock = false;
|
||||
int i;
|
||||
|
||||
int cycles = 0;
|
||||
for (i = 0; !m_EndBlock; i++)
|
||||
while (!m_EndBlock)
|
||||
{
|
||||
cycles += SingleStepInner();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue