From ed6ad62e22a0962b952b531a2b22df9fd595860a Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Mon, 17 Jul 2023 12:06:28 +1000 Subject: [PATCH] dont into_iter audio samples --- lib/src/processor/memory/mmio/apu.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/src/processor/memory/mmio/apu.rs b/lib/src/processor/memory/mmio/apu.rs index 08ebbfc..93e1394 100644 --- a/lib/src/processor/memory/mmio/apu.rs +++ b/lib/src/processor/memory/mmio/apu.rs @@ -87,10 +87,10 @@ impl Apu { pub fn tick(&mut self, steps: usize, output: bool) { if output { for s in izip!( - self.channels.one.tick(steps).into_iter(), - self.channels.two.tick(steps).into_iter(), - self.channels.three.tick(steps).into_iter(), - self.channels.four.tick(steps).into_iter() + self.channels.one.tick(steps), + self.channels.two.tick(steps), + self.channels.three.tick(steps), + self.channels.four.tick(steps) ) .map(|(one, two, three, four)| DacSample { one,