diff --git a/src/gpu/mod.rs b/src/gpu/mod.rs index e7f7dfe..53e53ab 100644 --- a/src/gpu/mod.rs +++ b/src/gpu/mod.rs @@ -1,6 +1,6 @@ pub(crate) mod palette; pub(crate) mod sprite_parser; -pub(crate) mod states; +pub mod states; pub mod tile_parser; #[derive(Clone, Copy, PartialEq, Debug)] diff --git a/src/gpu/states.rs b/src/gpu/states.rs index 74b01ad..de9354e 100644 --- a/src/gpu/states.rs +++ b/src/gpu/states.rs @@ -40,7 +40,7 @@ pub struct Gpu { y: u8, /// A dot is 1/4 of a CPU cycle - dots: u16, + pub dots: u16, } impl Gpu {