aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/mods/infogrames.cpp4
-rw-r--r--sound/mods/infogrames.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/sound/mods/infogrames.cpp b/sound/mods/infogrames.cpp
index a1eeddf22d..a901e48419 100644
--- a/sound/mods/infogrames.cpp
+++ b/sound/mods/infogrames.cpp
@@ -120,8 +120,8 @@ const uint16 Infogrames::periods[] =
0x0A0A, 0x0A0A, 0x0A0A, 0x0202, 0x0202, 0x0202, 0x0202, 0x0202, 0x0202,
0x0202, 0x0202, 0x0202, 0x0202, 0x4040, 0x4040, 0x2000};
-Infogrames::Infogrames(Instruments &ins, bool stereo, int rate) :
- Paula(stereo, rate, rate/80) {
+Infogrames::Infogrames(Instruments &ins, bool stereo, int rate,
+ int interruptFreq) : Paula(stereo, rate, interruptFreq) {
_instruments = &ins;
_data = 0;
_repCount = -1;
diff --git a/sound/mods/infogrames.h b/sound/mods/infogrames.h
index 78bc9efd82..c40f107947 100644
--- a/sound/mods/infogrames.h
+++ b/sound/mods/infogrames.h
@@ -70,7 +70,8 @@ public:
friend class Infogrames;
};
- Infogrames(Instruments &ins, bool stereo = false, int rate = 44100);
+ Infogrames(Instruments &ins, bool stereo = false, int rate = 44100,
+ int interruptFreq = 0);
~Infogrames();
Instruments *getInstruments(void) const { return _instruments; }