From 1a2e04f4cc01df64842c3cf7c9403b7f3585013f Mon Sep 17 00:00:00 2001 From: Corwin Kuiper Date: Sun, 13 Jun 2021 15:06:47 +0100 Subject: [PATCH] fix tile copier --- agb/src/display/tiled0.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agb/src/display/tiled0.rs b/agb/src/display/tiled0.rs index cb46ae9b..91d998b7 100644 --- a/agb/src/display/tiled0.rs +++ b/agb/src/display/tiled0.rs @@ -419,7 +419,7 @@ impl Tiled0 { self.used_blocks |= blocks_to_use; for (index, &tile) in tiles.iter().enumerate() { - self.set_background_tilemap_entry(start_tile + index as u32, tile) + self.set_background_tilemap_entry(start_tile * 8 + index as u32, tile) } } }