Bug 683544

svn-id: r6603
This commit is contained in:
Oliver Kiehl 2003-02-13 18:25:32 +00:00
parent 273220b063
commit d63d62c29a

View File

@ -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;
}
}