From 22dc2fdb8fcac28ba0306a3c718f012cedc21174 Mon Sep 17 00:00:00 2001 From: Jean-Philip Desjardins Date: Mon, 16 Apr 2018 09:26:22 -0400 Subject: [PATCH] Cleanup. --- Source/iop/Iop_SpuBase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/iop/Iop_SpuBase.cpp b/Source/iop/Iop_SpuBase.cpp index a6924008..ff8b5b24 100644 --- a/Source/iop/Iop_SpuBase.cpp +++ b/Source/iop/Iop_SpuBase.cpp @@ -608,9 +608,9 @@ void CSpuBase::Render(int16* samples, unsigned int sampleCount, unsigned int sam //Update channels for(unsigned int i = 0; i < 24; i++) { - CHANNEL& channel(m_channel[i]); + auto& channel(m_channel[i]); if(channel.status == STOPPED) continue; - CSampleReader& reader(m_reader[i]); + auto& reader(m_reader[i]); if(channel.status == KEY_ON) { reader.SetParams(channel.address, channel.repeat);