mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
set 1d mapping
This commit is contained in:
parent
1d8ac652f1
commit
225d0aca9f
|
@ -253,7 +253,7 @@ pub struct Tiled0 {
|
||||||
|
|
||||||
impl Tiled0 {
|
impl Tiled0 {
|
||||||
pub(crate) unsafe fn new() -> Self {
|
pub(crate) unsafe fn new() -> Self {
|
||||||
set_graphics_settings(GraphicsSettings::empty());
|
set_graphics_settings(GraphicsSettings::empty() | GraphicsSettings::SPRITE1_D);
|
||||||
set_graphics_mode(DisplayMode::Tiled0);
|
set_graphics_mode(DisplayMode::Tiled0);
|
||||||
Tiled0 {
|
Tiled0 {
|
||||||
used_blocks: 0,
|
used_blocks: 0,
|
||||||
|
|
Loading…
Reference in a new issue