From 2026e49569627e889dbd0d606e09abc1c9a6d242 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Fri, 15 Jul 2022 23:55:19 +0100 Subject: [PATCH] Start the tile ram one tile in to prevent overwriting the transparent tile --- agb/src/display/tiled/vram_manager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agb/src/display/tiled/vram_manager.rs b/agb/src/display/tiled/vram_manager.rs index a2a2ce15..6caa8956 100644 --- a/agb/src/display/tiled/vram_manager.rs +++ b/agb/src/display/tiled/vram_manager.rs @@ -17,7 +17,7 @@ const PALETTE_BACKGROUND: MemoryMapped1DArray = static TILE_ALLOCATOR: BlockAllocator = unsafe { BlockAllocator::new(StartEnd { - start: || TILE_RAM_START, + start: || TILE_RAM_START + 8 * 8, end: || TILE_RAM_START + 0x8000, }) };