From 3a1a60d4f8ac79588d4b6f8197131ea45ae53d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Vanda=C3=ABle?= Date: Thu, 27 Mar 2025 21:20:20 +0100 Subject: Fix shadowed variable warnings and missing declarations - PPCSymbolDB: Resolve shadowed variable warnings - PerformanceMetrics: Resolve shadowed variable warnings - SWEfbInterface: Add missing declarations --- Source/Core/VideoBackends/Software/SWEfbInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoBackends/Software/SWEfbInterface.cpp') diff --git a/Source/Core/VideoBackends/Software/SWEfbInterface.cpp b/Source/Core/VideoBackends/Software/SWEfbInterface.cpp index e534fab1c5..d269e8435a 100644 --- a/Source/Core/VideoBackends/Software/SWEfbInterface.cpp +++ b/Source/Core/VideoBackends/Software/SWEfbInterface.cpp @@ -469,7 +469,7 @@ void SetDepth(u16 x, u16 y, u32 depth) SetPixelDepth(GetDepthOffset(x, y), depth); } -u32 GetColor(u16 x, u16 y) +static u32 GetColor(u16 x, u16 y) { u32 offset = GetColorOffset(x, y); return GetPixelColor(offset); @@ -544,7 +544,7 @@ static yuv444 ConvertColorToYUV(u32 color) return {y_round, u_round, v_round}; } -u32 GetDepth(u16 x, u16 y) +static u32 GetDepth(u16 x, u16 y) { u32 offset = GetDepthOffset(x, y); return GetPixelDepth(offset); -- cgit v1.2.3