mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 17:41:33 +11:00
Fix reuse issue
This commit is contained in:
parent
a2c6c6a70c
commit
5533c9c052
|
@ -218,6 +218,8 @@ impl<'a> VRamManager<'a> {
|
|||
self.references[index] = TileReference::Free(END_OF_FREE_LIST_MARKER);
|
||||
}
|
||||
|
||||
self.tile_set_to_vram.remove(&tile_ref);
|
||||
|
||||
self.vram_free_pointer = Some(index);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue