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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/mods/paula.h b/sound/mods/paula.h
index 7ed8ceaeca..0cea60c264 100644
--- a/sound/mods/paula.h
+++ b/sound/mods/paula.h
@@ -56,11 +56,11 @@ public:
void setTimerBaseValue( uint32 ticksPerSecond ) { _timerBase = ticksPerSecond; }
uint32 getTimerBaseValue() { return _timerBase; }
void setSingleInterrupt(uint sampleDelay) { assert(sampleDelay < _intFreq); _curInt = sampleDelay; }
- void setSingleInterruptUnscaled(uint timerDelay) {
+ void setSingleInterruptUnscaled(uint timerDelay) {
setSingleInterrupt((uint)(((double)timerDelay * getRate()) / _timerBase));
}
void setInterruptFreq(uint sampleDelay) { _intFreq = sampleDelay; _curInt = 0; }
- void setInterruptFreqUnscaled(uint timerDelay) {
+ void setInterruptFreqUnscaled(uint timerDelay) {
setInterruptFreq((uint)(((double)timerDelay * getRate()) / _timerBase));
}
void clearVoice(byte voice);