From 49b3f36a5704ed6d998f15048633dc102f5e4f93 Mon Sep 17 00:00:00 2001 From: Dave French Date: Sun, 11 Jan 2015 21:23:30 +0000 Subject: [PATCH] 1492 fixed type on line 313 --- plugins/nes/Nes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/nes/Nes.cpp b/plugins/nes/Nes.cpp index b1b6c4e5a..84f08c6b4 100644 --- a/plugins/nes/Nes.cpp +++ b/plugins/nes/Nes.cpp @@ -310,7 +310,7 @@ void NesObject::renderOutput( sampleFrame * buf, fpp_t frames ) //////////////////////////////// // make sure we don't overflow - m_ch3Counter = m_wlen2 ? m_ch2Counter % m_wlen2 : 0; + m_ch3Counter = m_wlen3 ? m_ch3Counter % m_wlen3 : 0; // render triangle wave if( m_wlen3 <= m_maxWlen && ch3Enabled )