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

@ -32,6 +32,7 @@ these fields are 0 in format versions prior to 100 (0.6pre1).
the format versions are:
- 130: Furnace dev130
- 129: Furnace dev129
- 128: Furnace dev128
- 127: Furnace dev127
@ -365,7 +366,7 @@ size | description
| - this one isn't a compatibility flag, but it's here for convenience...
1 | disable sample macro (>=117) or reserved
1 | broken outVol episode 2 (>=121) or reserved
1 | reserved
1 | old arpeggio strategy (>=130) or reserved
--- | **virtual tempo data**
2 | virtual tempo numerator of first song (>=96) or reserved
2 | virtual tempo denominator of first song (>=96) or reserved

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