mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-16 11:35:25 +01:00
A tiny restructuring to allow inlining of FifoCommandRunnable. Probably useless.
This commit is contained in:
parent
14125cf951
commit
45a4236283
@ -469,12 +469,13 @@ void OpcodeDecoder_Shutdown()
|
||||
u32 OpcodeDecoder_Run(bool skipped_frame)
|
||||
{
|
||||
u32 totalCycles = 0;
|
||||
u32 cycles = FifoCommandRunnable();
|
||||
while (cycles > 0)
|
||||
while (true)
|
||||
{
|
||||
u32 cycles = FifoCommandRunnable();
|
||||
if (cycles == 0)
|
||||
break;
|
||||
skipped_frame ? DecodeSemiNop() : Decode();
|
||||
totalCycles += cycles;
|
||||
cycles = FifoCommandRunnable();
|
||||
}
|
||||
return totalCycles;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user