mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-18 00:09:11 +00: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:
parent
662cfa38c2
commit
3a1a60d4f8
3 changed files with 22 additions and 21 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue