mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 08:41:34 +11:00
fix tile copier
This commit is contained in:
parent
760796b1db
commit
1a2e04f4cc
|
@ -419,7 +419,7 @@ impl Tiled0 {
|
||||||
self.used_blocks |= blocks_to_use;
|
self.used_blocks |= blocks_to_use;
|
||||||
|
|
||||||
for (index, &tile) in tiles.iter().enumerate() {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue