mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user