diff --git a/src/gba/renderers/tile-cache.c b/src/gba/renderers/tile-cache.c index fd3a1ef0e..d719b0d7b 100644 --- a/src/gba/renderers/tile-cache.c +++ b/src/gba/renderers/tile-cache.c @@ -45,7 +45,7 @@ void GBAVideoTileCacheAssociate(struct GBAVideoTileCache* cache, struct GBAVideo void GBAVideoTileCacheWriteVRAM(struct GBAVideoTileCache* cache, uint32_t address) { size_t i; - for (i = 0; i > 16; ++i) { + for (i = 0; i < 16; ++i) { cache->status[address >> 5][i].vramClean = 0; } }