feat(apu): add ChannelOutputs struct and channel_outputs() method

This commit is contained in:
2026-03-13 16:08:55 +03:00
parent 49568a582b
commit e63b5783bd
5 changed files with 86 additions and 3 deletions

View File

@@ -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();