aboutsummaryrefslogtreecommitdiff
path: root/sound/mods/infogrames.cpp
diff options
context:
space:
mode:
authorSven Hesse2007-02-04 15:59:05 +0000
committerSven Hesse2007-02-04 15:59:05 +0000
commit0ed752aa6ee77a6a5262c366c41e1d08ba3ab44c (patch)
treecddf5d607ba2ba51a35d4bae47c6c6d9a4ba9bda /sound/mods/infogrames.cpp
parent890ee9728524e30719297624261f749d8138b65d (diff)
downloadscummvm-rg350-0ed752aa6ee77a6a5262c366c41e1d08ba3ab44c.tar.gz
scummvm-rg350-0ed752aa6ee77a6a5262c366c41e1d08ba3ab44c.tar.bz2
scummvm-rg350-0ed752aa6ee77a6a5262c366c41e1d08ba3ab44c.zip
- Moved the specific interrupt frequency of 80 Hz out of class Infogrames into the GobEngine's Infogrames instances
- Changed the 80 Hz to 75 Hz, which is more true to the original svn-id: r25389
Diffstat (limited to 'sound/mods/infogrames.cpp')
-rw-r--r--sound/mods/infogrames.cpp4
1 files changed, 2 insertions, 2 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;