diff options
| author | JosJuice <josjuice@gmail.com> | 2025-03-28 18:43:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-28 18:43:09 +0100 |
| commit | c7ede8a6b711ccf45d9c20762f5b224fa6fb664e (patch) | |
| tree | 1c024237cc83ecb5c65b26a8fec09dd5fe0e380a /Source/Core/VideoBackends/Software/SWEfbInterface.cpp | |
| parent | ee22cf9b2234e567e89fa7405cdb2c0b78a6e632 (diff) | |
| parent | 3a1a60d4f8ac79588d4b6f8197131ea45ae53d7b (diff) | |
Merge pull request #13461 from JoshuaVandaele/warningsbegone
Fix shadowed variable warnings and missing declarations
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWEfbInterface.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWEfbInterface.cpp | 4 |
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); |
