mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
Use static inline instead of extern inline for modern
This commit is contained in:
parent
6fed961ed6
commit
5719a7f7bc
@ -81,12 +81,12 @@ void TintPalette_GrayScale2(u16 *palette, u16 count);
|
|||||||
void TintPalette_SepiaTone(u16 *palette, u16 count);
|
void TintPalette_SepiaTone(u16 *palette, u16 count);
|
||||||
void TintPalette_CustomTone(u16 *palette, u16 count, u16 rTone, u16 gTone, u16 bTone);
|
void TintPalette_CustomTone(u16 *palette, u16 count, u16 rTone, u16 gTone, u16 bTone);
|
||||||
|
|
||||||
extern inline void SetBackdropFromColor(u16 color)
|
static inline void SetBackdropFromColor(u16 color)
|
||||||
{
|
{
|
||||||
FillPalette(color, 0x00, PLTT_SIZEOF(1));
|
FillPalette(color, 0x00, PLTT_SIZEOF(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
extern inline void SetBackdropFromPalette(const u16 *palette)
|
static inline void SetBackdropFromPalette(const u16 *palette)
|
||||||
{
|
{
|
||||||
LoadPalette(palette, 0x00, PLTT_SIZEOF(1));
|
LoadPalette(palette, 0x00, PLTT_SIZEOF(1));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user