summaryrefslogtreecommitdiff
path: root/src/spritecache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/spritecache.cpp')
-rw-r--r--src/spritecache.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/spritecache.cpp b/src/spritecache.cpp
index 561dbc3c1..c06d7aa9e 100644
--- a/src/spritecache.cpp
+++ b/src/spritecache.cpp
@@ -15,11 +15,11 @@
#endif /* SPRITE_CACHE_SIZE */
-typedef struct SpriteCache {
+struct SpriteCache {
void *ptr;
uint32 file_pos;
int16 lru;
-} SpriteCache;
+};
static uint _spritecache_items = 0;
@@ -55,10 +55,10 @@ static SpriteCache *AllocateSpriteCache(uint index)
}
-typedef struct MemBlock {
+struct MemBlock {
uint32 size;
byte data[VARARRAY_SIZE];
-} MemBlock;
+};
static uint _sprite_lru_counter;
static MemBlock *_spritecache_ptr;