feat(apu): add ChannelOutputs struct and channel_outputs() method
This commit is contained in:
@@ -58,6 +58,10 @@ impl NativeBus {
|
||||
self.apu.registers()
|
||||
}
|
||||
|
||||
pub fn apu_channel_outputs(&self) -> crate::native_core::apu::ChannelOutputs {
|
||||
self.apu.channel_outputs()
|
||||
}
|
||||
|
||||
pub fn render_frame(&self, out_rgba: &mut [u8], frame_number: u32, buttons: [bool; 8]) {
|
||||
let _ = (frame_number, buttons);
|
||||
let src = self.ppu.frame_buffer();
|
||||
|
||||
Reference in New Issue
Block a user