Skip to content

Commit

Permalink
Made gameman::gpu::states and gameman::gpu::Gpu::dots public
Browse files Browse the repository at this point in the history
  • Loading branch information
velllu committed Apr 3, 2024
1 parent 7bb78b9 commit c671d68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gpu/mod.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion src/gpu/states.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c671d68

Please sign in to comment.