mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
A tiny restructuring to allow inlining of FifoCommandRunnable. Probably useless.
This commit is contained in:
@ -469,12 +469,13 @@ void OpcodeDecoder_Shutdown()
|
|||||||
u32 OpcodeDecoder_Run(bool skipped_frame)
|
u32 OpcodeDecoder_Run(bool skipped_frame)
|
||||||
{
|
{
|
||||||
u32 totalCycles = 0;
|
u32 totalCycles = 0;
|
||||||
u32 cycles = FifoCommandRunnable();
|
while (true)
|
||||||
while (cycles > 0)
|
|
||||||
{
|
{
|
||||||
|
u32 cycles = FifoCommandRunnable();
|
||||||
|
if (cycles == 0)
|
||||||
|
break;
|
||||||
skipped_frame ? DecodeSemiNop() : Decode();
|
skipped_frame ? DecodeSemiNop() : Decode();
|
||||||
totalCycles += cycles;
|
totalCycles += cycles;
|
||||||
cycles = FifoCommandRunnable();
|
|
||||||
}
|
}
|
||||||
return totalCycles;
|
return totalCycles;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user