mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Fixes spacing for "for", "while", "switch" and "if"
Also moved && and || to ends of lines instead of start. Fixed misc vertical alignments and some { needed newlining.
This commit is contained in:
@ -95,7 +95,7 @@ void ExitGpuLoop()
|
||||
// This should break the wait loop in CPU thread
|
||||
CommandProcessor::fifo.bFF_GPReadEnable = false;
|
||||
SCPFifoStruct &fifo = CommandProcessor::fifo;
|
||||
while(fifo.isGpuReadingData) Common::YieldCPU();
|
||||
while (fifo.isGpuReadingData) Common::YieldCPU();
|
||||
// Terminate GPU thread loop
|
||||
GpuRunningState = false;
|
||||
EmuRunningState = true;
|
||||
@ -180,7 +180,7 @@ void RunGpuLoop()
|
||||
|
||||
Common::AtomicStore(fifo.CPReadPointer, readPtr);
|
||||
Common::AtomicAdd(fifo.CPReadWriteDistance, -32);
|
||||
if((GetVideoBufferEndPtr() - g_pVideoData) == 0)
|
||||
if ((GetVideoBufferEndPtr() - g_pVideoData) == 0)
|
||||
Common::AtomicStore(fifo.SafeCPReadPointer, fifo.CPReadPointer);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user