diff options
author | James Brown | 2002-03-13 04:57:33 +0000 |
---|---|---|
committer | James Brown | 2002-03-13 04:57:33 +0000 |
commit | 4d0c43520f8019746192a26d08f18d44d7bb1c3d (patch) | |
tree | fec7573e256db7cccd99fe4dae98cdded6717474 /sound | |
parent | 7d360dde50e1b01143ac907fa6c697baa4043175 (diff) | |
download | scummvm-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.cpp | 2 |
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]; |