mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
I am aware this uses too many arguments, but it's private so I don't care too much
This commit is contained in:
parent
4aa2a18058
commit
527729f5ba
|
@ -1,4 +1,4 @@
|
|||
use core::{borrow::Borrow, cell::RefCell, convert::TryInto, ops::Deref};
|
||||
use core::{convert::TryInto, ops::Deref};
|
||||
|
||||
use crate::{
|
||||
memory_mapped::MemoryMapped1DArray,
|
||||
|
@ -6,8 +6,8 @@ use crate::{
|
|||
};
|
||||
|
||||
use super::{
|
||||
object::ObjectControl, palette16, set_graphics_mode, set_graphics_settings, DisplayMode,
|
||||
GraphicsSettings, DISPLAY_CONTROL,
|
||||
palette16, set_graphics_mode, set_graphics_settings, DisplayMode, GraphicsSettings,
|
||||
DISPLAY_CONTROL,
|
||||
};
|
||||
|
||||
const PALETTE_BACKGROUND: MemoryMapped1DArray<u16, 256> =
|
||||
|
@ -156,6 +156,7 @@ impl Background {
|
|||
);
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn draw_area_mapped<T>(
|
||||
&self,
|
||||
map: &T,
|
||||
|
|
Loading…
Reference in a new issue