aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJames Brown2002-03-13 04:57:33 +0000
committerJames Brown2002-03-13 04:57:33 +0000
commit4d0c43520f8019746192a26d08f18d44d7bb1c3d (patch)
treefec7573e256db7cccd99fe4dae98cdded6717474 /sound
parent7d360dde50e1b01143ac907fa6c697baa4043175 (diff)
downloadscummvm-rg350-4d0c43520f8019746192a26d08f18d44d7bb1c3d.tar.gz
scummvm-rg350-4d0c43520f8019746192a26d08f18d44d7bb1c3d.tar.bz2
scummvm-rg350-4d0c43520f8019746192a26d08f18d44d7bb1c3d.zip
Fix an OB1 and typecast. Need to find out cause of invalid object index to begin with..
svn-id: r3738
Diffstat (limited to 'sound')
-rw-r--r--sound/fmopl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/fmopl.cpp b/sound/fmopl.cpp
index 55da77e793..880ee992bd 100644
--- a/sound/fmopl.cpp
+++ b/sound/fmopl.cpp
@@ -558,7 +558,7 @@ static void init_timetables( FM_OPL *OPL , int ARRATE , int DRRATE )
OPL->AR_TABLE[i] = (int) (rate / ARRATE);
OPL->DR_TABLE[i] = (int) (rate / DRRATE);
}
- for (i = 60;i < 76;i++)
+ for (i = 60;i < 75;i++)
{
OPL->AR_TABLE[i] = EG_AED-1;
OPL->DR_TABLE[i] = OPL->DR_TABLE[60];