mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Software: Apply static to some functions
This commit is contained in:
parent
568bdec598
commit
4129cdeb4d
7 changed files with 41 additions and 32 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue