mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-17 12:58:55 +02:00
Software: Apply static to some functions
This commit is contained in:
@ -20,12 +20,12 @@ namespace EfbInterface
|
||||
{
|
||||
u32 perf_values[PQ_NUM_MEMBERS];
|
||||
|
||||
inline u32 GetColorOffset(u16 x, u16 y)
|
||||
static inline u32 GetColorOffset(u16 x, u16 y)
|
||||
{
|
||||
return (x + y * EFB_WIDTH) * 3;
|
||||
}
|
||||
|
||||
inline u32 GetDepthOffset(u16 x, u16 y)
|
||||
static inline u32 GetDepthOffset(u16 x, u16 y)
|
||||
{
|
||||
return (x + y * EFB_WIDTH) * 3 + DEPTH_BUFFER_START;
|
||||
}
|
||||
|
Reference in New Issue
Block a user