mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
[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:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user