From 22e1aa5bb4a159d6d66a321f978917614aa36331 Mon Sep 17 00:00:00 2001 From: degasus Date: Tue, 8 Jul 2014 14:29:26 +0200 Subject: mark all local functions as static --- .../Core/VideoBackends/Software/EfbInterface.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'Source/Core/VideoBackends/Software/EfbInterface.cpp') diff --git a/Source/Core/VideoBackends/Software/EfbInterface.cpp b/Source/Core/VideoBackends/Software/EfbInterface.cpp index 8187345d89..fd985f8662 100644 --- a/Source/Core/VideoBackends/Software/EfbInterface.cpp +++ b/Source/Core/VideoBackends/Software/EfbInterface.cpp @@ -35,7 +35,7 @@ namespace EfbInterface p.DoArray(efb, EFB_WIDTH*EFB_HEIGHT*6); } - void SetPixelAlphaOnly(u32 offset, u8 a) + static void SetPixelAlphaOnly(u32 offset, u8 a) { switch (bpmem.zcontrol.pixel_format) { @@ -58,7 +58,7 @@ namespace EfbInterface } } - void SetPixelColorOnly(u32 offset, u8 *rgb) + static void SetPixelColorOnly(u32 offset, u8 *rgb) { switch (bpmem.zcontrol.pixel_format) { @@ -98,7 +98,7 @@ namespace EfbInterface } } - void SetPixelAlphaColor(u32 offset, u8 *color) + static void SetPixelAlphaColor(u32 offset, u8 *color) { switch (bpmem.zcontrol.pixel_format) { @@ -139,7 +139,7 @@ namespace EfbInterface } } - void GetPixelColor(u32 offset, u8 *color) + static void GetPixelColor(u32 offset, u8 *color) { switch (bpmem.zcontrol.pixel_format) { @@ -175,7 +175,7 @@ namespace EfbInterface } } - void SetPixelDepth(u32 offset, u32 depth) + static void SetPixelDepth(u32 offset, u32 depth) { switch (bpmem.zcontrol.pixel_format) { @@ -203,7 +203,7 @@ namespace EfbInterface } } - u32 GetPixelDepth(u32 offset) + static u32 GetPixelDepth(u32 offset) { u32 depth = 0; @@ -229,7 +229,7 @@ namespace EfbInterface return depth; } - u32 GetSourceFactor(u8 *srcClr, u8 *dstClr, BlendMode::BlendFactor mode) + static u32 GetSourceFactor(u8 *srcClr, u8 *dstClr, BlendMode::BlendFactor mode) { switch (mode) { @@ -270,7 +270,7 @@ namespace EfbInterface return 0; } - u32 GetDestinationFactor(u8 *srcClr, u8 *dstClr, BlendMode::BlendFactor mode) + static u32 GetDestinationFactor(u8 *srcClr, u8 *dstClr, BlendMode::BlendFactor mode) { switch (mode) { @@ -311,7 +311,7 @@ namespace EfbInterface return 0; } - void BlendColor(u8 *srcClr, u8 *dstClr) + static void BlendColor(u8 *srcClr, u8 *dstClr) { u32 srcFactor = GetSourceFactor(srcClr, dstClr, bpmem.blendmode.srcfactor); u32 dstFactor = GetDestinationFactor(srcClr, dstClr, bpmem.blendmode.dstfactor); @@ -333,7 +333,7 @@ namespace EfbInterface } } - void LogicBlend(u32 srcClr, u32 &dstClr, BlendMode::LogicOp op) + static void LogicBlend(u32 srcClr, u32 &dstClr, BlendMode::LogicOp op) { switch (op) { @@ -388,7 +388,7 @@ namespace EfbInterface } } - void SubtractBlend(u8 *srcClr, u8 *dstClr) + static void SubtractBlend(u8 *srcClr, u8 *dstClr) { for (int i = 0; i < 4; i++) { -- cgit v1.2.3