update c64.cpp

This commit is contained in:
tildearrow 2024-09-14 04:35:02 -05:00
parent 15be24ed82
commit b2d6f8e7ee

View file

@ -626,22 +626,16 @@ DivMacroInt* DivPlatformC64::getChanMacroInt(int ch) {
void DivPlatformC64::getPaired(int ch, std::vector<DivChannelPair>& 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);