all repos — mgba @ 159fd77a8aa4220433d53917bc0a1b7f46a51d3d

mGBA Game Boy Advance Emulator

GBA Video: Fix tile cache writing
Jeffrey Pfau jeffrey@endrift.com
Sat, 17 Sep 2016 12:33:04 -0700
commit

159fd77a8aa4220433d53917bc0a1b7f46a51d3d

parent

4dd4d9b25c3ff353cd76d8bd8458d6462e49ad06

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/gba/renderers/tile-cache.csrc/gba/renderers/tile-cache.c

@@ -45,7 +45,7 @@ }

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; } }