allow dead code for unused display modes

This commit is contained in:
Corwin Kuiper 2021-04-11 16:36:46 +01:00 committed by Corwin
parent 14c46374fa
commit 7def18312f

View file

@ -36,6 +36,7 @@ pub const WIDTH: i32 = 240;
/// Height of the Gameboy advance screen in pixels /// Height of the Gameboy advance screen in pixels
pub const HEIGHT: i32 = 160; pub const HEIGHT: i32 = 160;
#[allow(dead_code)]
enum DisplayMode { enum DisplayMode {
Tiled0 = 0, Tiled0 = 0,
Tiled1 = 1, Tiled1 = 1,