mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 08:41:34 +11:00
objects are hidden by default
no need to do it twice
This commit is contained in:
parent
eb352085f1
commit
4cc7650ddc
|
@ -250,8 +250,7 @@ impl ObjectAttribute {
|
||||||
|
|
||||||
impl ObjectControl {
|
impl ObjectControl {
|
||||||
pub(crate) fn new() -> Self {
|
pub(crate) fn new() -> Self {
|
||||||
let mut o = ObjectAttribute::new();
|
let o = ObjectAttribute::new();
|
||||||
o.set_mode(Mode::Hidden);
|
|
||||||
for index in 0..128 {
|
for index in 0..128 {
|
||||||
unsafe { o.commit(index) };
|
unsafe { o.commit(index) };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue