diff --git a/spritecache.c b/spritecache.c index bc00feebf1..899242d72e 100644 --- a/spritecache.c +++ b/spritecache.c @@ -951,7 +951,7 @@ static void LoadSpriteTables(void) _compact_cache_counter = 0; } -void GfxInitSpriteMem(byte *ptr, uint32 size) +static void GfxInitSpriteMem(byte *ptr, uint32 size) { // initialize sprite cache heap _spritecache_ptr = ptr; diff --git a/spritecache.h b/spritecache.h index b4becda459..f1c0a80f7c 100644 --- a/spritecache.h +++ b/spritecache.h @@ -20,7 +20,6 @@ const SpriteDimension *GetSpriteDimension(SpriteID sprite); Sprite *GetSprite(SpriteID sprite); byte *GetNonSprite(SpriteID sprite); -void GfxInitSpriteMem(byte *ptr, uint32 size); void GfxLoadSprites(void); void IncreaseSpriteLRU(void);