From d055cbd59c705aed3e36600295cb7f291981fb5d Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Mon, 28 Mar 2022 21:43:53 +0100 Subject: [PATCH] Don't need to enable objects in tiled background any more --- agb/src/display/tiled/tiled0.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/agb/src/display/tiled/tiled0.rs b/agb/src/display/tiled/tiled0.rs index 86b73876..ad5da7fb 100644 --- a/agb/src/display/tiled/tiled0.rs +++ b/agb/src/display/tiled/tiled0.rs @@ -2,7 +2,7 @@ use core::cell::RefCell; use crate::{ bitarray::Bitarray, - display::{set_graphics_mode, set_graphics_settings, DisplayMode, GraphicsSettings, Priority}, + display::{set_graphics_mode, DisplayMode, Priority}, }; use super::{MapLoan, RegularMap}; @@ -13,7 +13,6 @@ pub struct Tiled0 { impl Tiled0 { pub(crate) unsafe fn new() -> Self { - set_graphics_settings(GraphicsSettings::empty() | GraphicsSettings::SPRITE1_D); set_graphics_mode(DisplayMode::Tiled0); Self {