mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-23 07:36:33 +11:00
Start the tile ram one tile in to prevent overwriting the transparent tile
This commit is contained in:
parent
8a55fc7f0e
commit
2026e49569
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ const PALETTE_BACKGROUND: MemoryMapped1DArray<u16, 256> =
|
||||||
|
|
||||||
static TILE_ALLOCATOR: BlockAllocator = unsafe {
|
static TILE_ALLOCATOR: BlockAllocator = unsafe {
|
||||||
BlockAllocator::new(StartEnd {
|
BlockAllocator::new(StartEnd {
|
||||||
start: || TILE_RAM_START,
|
start: || TILE_RAM_START + 8 * 8,
|
||||||
end: || TILE_RAM_START + 0x8000,
|
end: || TILE_RAM_START + 0x8000,
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue