From 31cfc73a09a8685cbab20502b4bc132e98e2feb5 Mon Sep 17 00:00:00 2001 From: Matthew Parlane Date: Tue, 11 Mar 2014 00:30:55 +1300 Subject: 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. --- Source/Core/VideoCommon/MainBase.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/VideoCommon/MainBase.cpp') diff --git a/Source/Core/VideoCommon/MainBase.cpp b/Source/Core/VideoCommon/MainBase.cpp index 8694fe2d1a..f491d06f97 100644 --- a/Source/Core/VideoCommon/MainBase.cpp +++ b/Source/Core/VideoCommon/MainBase.cpp @@ -68,7 +68,7 @@ void VideoBackendHardware::Video_SetRendering(bool bEnabled) // Run from the graphics thread (from Fifo.cpp) void VideoFifo_CheckSwapRequest() { - if(g_ActiveConfig.bUseXFB) + if (g_ActiveConfig.bUseXFB) { if (Common::AtomicLoadAcquire(s_swapRequested)) { @@ -84,7 +84,7 @@ void VideoFifo_CheckSwapRequestAt(u32 xfbAddr, u32 fbWidth, u32 fbHeight) { if (g_ActiveConfig.bUseXFB) { - if(Common::AtomicLoadAcquire(s_swapRequested)) + if (Common::AtomicLoadAcquire(s_swapRequested)) { u32 aLower = xfbAddr; u32 aUpper = xfbAddr + 2 * fbWidth * fbHeight; @@ -194,7 +194,7 @@ void VideoFifo_CheckPerfQueryRequest() u32 VideoBackendHardware::Video_GetQueryResult(PerfQueryType type) { - if(!g_perf_query->ShouldEmulate()) + if (!g_perf_query->ShouldEmulate()) { return 0; } -- cgit v1.2.3