summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWEfbInterface.cpp
diff options
context:
space:
mode:
authorJoshua Vandaƫle <joshua@vandaele.software>2025-03-27 21:20:20 +0100
committerJoshua Vandaƫle <joshua@vandaele.software>2025-03-27 21:48:08 +0100
commit3a1a60d4f8ac79588d4b6f8197131ea45ae53d7b (patch)
tree40675f3d70953459f3e4e276c6fd1ffbe3382375 /Source/Core/VideoBackends/Software/SWEfbInterface.cpp
parent662cfa38c24e66b3fec42a7713645f71c05db269 (diff)
Fix shadowed variable warnings and missing declarations
- PPCSymbolDB: Resolve shadowed variable warnings - PerformanceMetrics: Resolve shadowed variable warnings - SWEfbInterface: Add missing declarations
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWEfbInterface.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/SWEfbInterface.cpp4
1 files changed, 2 insertions, 2 deletions
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);