implement getChanMacroInt() on supported systems

This commit is contained in:
tildearrow 2022-06-05 18:17:00 -05:00
parent af0103d76e
commit 2932a7281d
94 changed files with 262 additions and 3 deletions

View file

@ -543,6 +543,12 @@ void* DivPlatformGenesisExt::getChanState(int ch) {
return &chan[ch];
}
DivMacroInt* DivPlatformGenesisExt::getChanMacroInt(int ch) {
if (ch>=6) return &chan[ch-3].std;
if (ch>=2) return NULL; // currently not implemented
return &chan[ch].std;
}
DivDispatchOscBuffer* DivPlatformGenesisExt::getOscBuffer(int ch) {
if (ch>=6) return oscBuf[ch-3];
if (ch<3) return oscBuf[ch];