naive channel pair refactor (dumb replace one pair with vector of pairs)

This commit is contained in:
LTVA1 2024-08-14 20:01:16 +03:00
parent 0ea53fdae5
commit 7c324ec39d
19 changed files with 140 additions and 138 deletions

View file

@ -538,11 +538,10 @@ unsigned short DivPlatformPCE::getPan(int ch) {
return ((chan[ch].pan&0xf0)<<4)|(chan[ch].pan&15);
}
DivChannelPair DivPlatformPCE::getPaired(int ch) {
void DivPlatformPCE::getPaired(int ch, std::vector<DivChannelPair>& ret) {
if (ch==1 && lfoMode>0) {
return DivChannelPair("mod",0);
ret.push_back(DivChannelPair("mod",0));
}
return DivChannelPair();
}
DivChannelModeHints DivPlatformPCE::getModeHints(int ch) {