summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spritecache.c2
-rw-r--r--spritecache.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/spritecache.c b/spritecache.c
index bc00feebf..899242d72 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 b4becda45..f1c0a80f7 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);