Fix shadowed variable warnings and missing declarations

- PPCSymbolDB:  Resolve shadowed variable warnings
- PerformanceMetrics:  Resolve shadowed variable warnings
- SWEfbInterface: Add missing declarations
This commit is contained in:
Joshua Vandaële
2025-03-27 21:20:20 +01:00
parent 662cfa38c2
commit 3a1a60d4f8
3 changed files with 22 additions and 21 deletions

View File

@ -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);