Ticket #8332: fmopl.cpp.diff
File fmopl.cpp.diff, 590 bytes (added by , 21 years ago) |
---|
-
fmopl.cpp
RCS file: /cvsroot/scummvm/scummvm/sound/fmopl.cpp,v retrieving revision 1.20 diff -u -r1.20 fmopl.cpp
471 471 #define WHITE_NOISE_db 6.0 472 472 inline void OPL_CALC_RH(OPL_CH *CH) { 473 473 uint env_tam, env_sd, env_top, env_hh; 474 int whitenoise = int((rand()&1) * (WHITE_NOISE_db / EG_STEP)); 474 int whitenoise = int((oplRnd.getRandomNumber(32767)&1) * (WHITE_NOISE_db / EG_STEP)); 475 475 476 int tone8; 476 477 477 478 OPL_SLOT *SLOT;