aboutsummaryrefslogtreecommitdiff
path: root/sound/mods/paula.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/mods/paula.h')
-rw-r--r--sound/mods/paula.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/mods/paula.h b/sound/mods/paula.h
index fbc984f121..05bc67cd78 100644
--- a/sound/mods/paula.h
+++ b/sound/mods/paula.h
@@ -80,7 +80,6 @@ protected:
uint32 length;
uint32 lengthRepeat;
int16 period;
- int16 periodRepeat;
byte volume;
frac_t offset;
byte panning; // For stereo mixing: 0 = far left, 255 = far right
@@ -119,12 +118,12 @@ protected:
ch.length = ch.lengthRepeat;
// actually first 2 bytes are dropped?
ch.offset = intToFrac(0);
- ch.period = ch.periodRepeat;
+ // ch.period = ch.periodRepeat;
}
void setChannelPeriod(byte channel, int16 period) {
assert(channel < NUM_VOICES);
- _voice[channel].periodRepeat = period;
+ _voice[channel].period = period;
}
void setChannelVolume(byte channel, byte volume) {