This commit is contained in:
tildearrow 2022-12-17 00:54:56 -05:00
parent 1127688229
commit 905329e1e4
3 changed files with 8 additions and 1 deletions

View file

@ -33,9 +33,13 @@ template<typename T> struct SharedChannel {
bool active, insChanged, freqChanged, keyOn, keyOff, portaPause, inPorta;
T vol, outVol;
DivMacroInt std;
void handleArp() {
}
void macroInit(DivInstrument* which) {
std.init(which);
pitch2=0;
arpOff=0;
baseFreqOverride=-1;
}
SharedChannel(T initVol):
freq(0),

View file

@ -635,4 +635,6 @@ class DivDispatch {
if (x<xMin) x=xMin; \
if (x>xMax) x=xMax;
#define NEW_ARP_STRAT (parent->song.linearPitch==2 && !parent->song.newArpStrategy)
#endif