diff --git a/src/nostalgia/core/gba/gfx.cpp b/src/nostalgia/core/gba/gfx.cpp index f109940a..19b0fc9b 100644 --- a/src/nostalgia/core/gba/gfx.cpp +++ b/src/nostalgia/core/gba/gfx.cpp @@ -132,7 +132,7 @@ ox::Error loadTileSheet(Context *ctx, GbaTileMapTarget target; target.pal.palette = &MEM_PALLETE_BG[section]; target.bgCtl = &bgCtl(section); - target.tileMap = &TILE_ADDR[section]; + target.tileMap = &TILE_ADDR[section * 512]; oxReturnError(ox::readMC(ts, tsStat.size, &target)); // load external palette if available if (paletteAddr) {