nesfuzz/src/apu/dmc.rs

28 lines
497 B
Rust
Raw Normal View History

2019-11-27 01:11:51 +00:00
impl super::DMC {
pub fn new() -> Self {
super::DMC {
2019-12-05 02:57:05 +00:00
sample: 0,
2019-12-15 00:15:06 +00:00
enabled: false,
bytes_remaining: 0,
interrupt: false,
length_counter: 0,
2019-11-27 01:11:51 +00:00
}
}
2019-12-05 02:57:05 +00:00
pub fn control(&mut self, value: u8) {
}
pub fn direct_load(&mut self, value: u8) {
}
pub fn sample_address(&mut self, value: u8) {
}
pub fn sample_length(&mut self, value: u8) {
}
2019-11-27 01:11:51 +00:00
}