From 4d0c43520f8019746192a26d08f18d44d7bb1c3d Mon Sep 17 00:00:00 2001 From: James Brown Date: Wed, 13 Mar 2002 04:57:33 +0000 Subject: Fix an OB1 and typecast. Need to find out cause of invalid object index to begin with.. svn-id: r3738 --- sound/fmopl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound') 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]; -- cgit v1.2.3