mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-25 01:01:34 +11:00
Don't need to enable objects in tiled background any more
This commit is contained in:
parent
c43581620f
commit
d055cbd59c
|
@ -2,7 +2,7 @@ use core::cell::RefCell;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
bitarray::Bitarray,
|
bitarray::Bitarray,
|
||||||
display::{set_graphics_mode, set_graphics_settings, DisplayMode, GraphicsSettings, Priority},
|
display::{set_graphics_mode, DisplayMode, Priority},
|
||||||
};
|
};
|
||||||
|
|
||||||
use super::{MapLoan, RegularMap};
|
use super::{MapLoan, RegularMap};
|
||||||
|
@ -13,7 +13,6 @@ pub struct Tiled0 {
|
||||||
|
|
||||||
impl Tiled0 {
|
impl Tiled0 {
|
||||||
pub(crate) unsafe fn new() -> Self {
|
pub(crate) unsafe fn new() -> Self {
|
||||||
set_graphics_settings(GraphicsSettings::empty() | GraphicsSettings::SPRITE1_D);
|
|
||||||
set_graphics_mode(DisplayMode::Tiled0);
|
set_graphics_mode(DisplayMode::Tiled0);
|
||||||
|
|
||||||
Self {
|
Self {
|
||||||
|
|
Loading…
Reference in a new issue