diff --git a/src/engine/platform/c64.cpp b/src/engine/platform/c64.cpp index 3860d8e99..6c86f348d 100644 --- a/src/engine/platform/c64.cpp +++ b/src/engine/platform/c64.cpp @@ -626,22 +626,16 @@ DivMacroInt* DivPlatformC64::getChanMacroInt(int ch) { void DivPlatformC64::getPaired(int ch, std::vector& ret) { if (chan[ch].ring) { - if(ch == 0) - { + if (ch==0){ ret.push_back(DivChannelPair(_("ring"),2)); - } - else - { + } else { ret.push_back(DivChannelPair(_("ring"),(ch-1)%3)); } } if (chan[ch].sync) { - if(ch == 0) - { + if (ch==0) { ret.push_back(DivChannelPair(_("sync"),2)); - } - else - { + } else { ret.push_back(DivChannelPair(_("sync"),(ch-1)%3)); } } @@ -700,10 +694,10 @@ void DivPlatformC64::reset() { chan[i].std.setEngine(parent); fakeLow[i]=0; fakeBand[i]=0; - chan[i].pw_slide = 0; + chan[i].pw_slide=0; } - cutoff_slide = 0; + cutoff_slide=0; if (sidCore==2) { dSID_init(sid_d,chipClock,rate,sidIs6581?6581:8580,needInitTables);