diff options
author | Oliver Kiehl | 2003-02-13 18:25:32 +0000 |
---|---|---|
committer | Oliver Kiehl | 2003-02-13 18:25:32 +0000 |
commit | d63d62c29ac7a41c5788877019e881f77b054e2c (patch) | |
tree | 646dc529007c600f1cb21b931992f5b8b6364247 /sound | |
parent | 273220b063832ab9f9b51ec2d1e59f75def93fcb (diff) | |
download | scummvm-rg350-d63d62c29ac7a41c5788877019e881f77b054e2c.tar.gz scummvm-rg350-d63d62c29ac7a41c5788877019e881f77b054e2c.tar.bz2 scummvm-rg350-d63d62c29ac7a41c5788877019e881f77b054e2c.zip |
Bug 683544
svn-id: r6603
Diffstat (limited to 'sound')
-rw-r--r-- | sound/fmopl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/fmopl.cpp b/sound/fmopl.cpp index 2168589864..26189c5fac 100644 --- a/sound/fmopl.cpp +++ b/sound/fmopl.cpp @@ -227,10 +227,10 @@ void OPLBuildTables(int ENV_BITS_PARAM, int EG_ENT_PARAM) { EG_AED = EG_DST; //EG_STEP = (96.0/EG_ENT); - for (i=0; i < (int)sizeof(KSL_TABLE_SEED); i++) + for (i=0; i < (int)sizeof(KSL_TABLE_SEED)/sizeof(double); i++) KSL_TABLE[i] = SC_KSL(KSL_TABLE_SEED[i]); - for (i=0; i < (int)sizeof(SL_TABLE_SEED); i++) + for (i=0; i < (int)sizeof(SL_TABLE_SEED)/sizeof(uint); i++) SL_TABLE[i] = SC_SL(SL_TABLE_SEED[i]); } @@ -1169,4 +1169,4 @@ int OPLTimerOver(FM_OPL *OPL,int c) /* reload timer */ if (OPL->TimerHandler) (OPL->TimerHandler)(OPL->TimerParam+c,(double)OPL->T[c]*OPL->TimerBase); return OPL->status>>7; -}
\ No newline at end of file +} |