mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-22 15:16:40 +11:00
prevent unwanted creation
This commit is contained in:
parent
e7a2faa248
commit
363e032119
2 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@ use core::convert::TryInto;
|
|||
const BITMAP_MODE_3: MemoryMapped2DArray<u16, { WIDTH as usize }, { HEIGHT as usize }> =
|
||||
unsafe { MemoryMapped2DArray::new(0x600_0000) };
|
||||
|
||||
#[non_exhaustive]
|
||||
pub struct Bitmap3 {}
|
||||
|
||||
impl Bitmap3 {
|
||||
|
|
|
@ -23,6 +23,7 @@ pub enum Page {
|
|||
Back = 1,
|
||||
}
|
||||
|
||||
#[non_exhaustive]
|
||||
pub struct Bitmap4 {}
|
||||
|
||||
impl Bitmap4 {
|
||||
|
|
Loading…
Add table
Reference in a new issue