GBA Video: Fix tile cache writing

This commit is contained in:
Jeffrey Pfau 2016-09-17 12:33:04 -07:00
parent 4dd4d9b25c
commit 159fd77a8a
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ void GBAVideoTileCacheAssociate(struct GBAVideoTileCache* cache, struct GBAVideo
void GBAVideoTileCacheWriteVRAM(struct GBAVideoTileCache* cache, uint32_t address) { void GBAVideoTileCacheWriteVRAM(struct GBAVideoTileCache* cache, uint32_t address) {
size_t i; size_t i;
for (i = 0; i > 16; ++i) { for (i = 0; i < 16; ++i) {
cache->status[address >> 5][i].vramClean = 0; cache->status[address >> 5][i].vramClean = 0;
} }
} }