chore: remove various warnings
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-07-28 16:25:29 -05:00
parent e43cac8041
commit 2af673d7c5
3 changed files with 0 additions and 17 deletions

View File

@@ -168,14 +168,6 @@ impl Apu {
self.prod = Some(prod);
}
#[inline]
pub(crate) fn is_full(&self) -> bool {
match self.prod.as_ref() {
Some(prod) => prod.is_full(),
None => false,
}
}
/// 0xFF26 | NR52 - Sound On/Off
pub(crate) fn set_status(&mut self, byte: u8) {
self.ctrl.enabled = (byte >> 7) & 0x01 == 0x01;