chore: reduce size of public interface

This commit is contained in:
2021-10-30 10:28:20 +09:00
parent 2bb8bd6d8f
commit 01278ca83f
6 changed files with 19 additions and 14 deletions

View File

@@ -90,7 +90,7 @@ impl Emulator {
}
pub fn set_prod(&mut self, prod: SampleProducer<f32>) {
self.cpu.bus_mut().apu.attach_producer(prod)
self.cpu.bus_mut().apu_mut().attach_producer(prod)
}
pub fn title(&self) -> &str {