mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 08:41:34 +11:00
Special case the first element in references
This commit is contained in:
parent
bdeaf346cd
commit
8fcb9e607d
|
@ -1,3 +1,4 @@
|
|||
use alloc::vec;
|
||||
use alloc::vec::Vec;
|
||||
use hashbrown::HashMap;
|
||||
|
||||
|
@ -77,7 +78,7 @@ impl<'a> VRamManager<'a> {
|
|||
free_pointer: None,
|
||||
|
||||
tile_set_to_vram: HashMap::new(),
|
||||
references: Vec::new(),
|
||||
references: vec![1],
|
||||
vram_free_pointer: None,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue