feat: stub 0xFF05

This commit is contained in:
2021-03-21 02:01:19 -05:00
parent 15da6cb7d2
commit fe586d77ac
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ use crate::instruction::Cycles;
#[derive(Debug, Clone, Copy)]
pub struct Timer {
pub control: TimerControl,
pub counter: u8,
}
impl Timer {
@@ -16,7 +17,8 @@ impl Timer {
impl Default for Timer {
fn default() -> Self {
Self {
control: 0x00.into(),
control: Default::default(),
counter: 0,
}
}
}