Made PixTone use the new rand function
This commit is contained in:
parent
03e0034bca
commit
a43b458e67
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ void MakeWaveTables(void)
|
|||
// White noise wave
|
||||
srand(0);
|
||||
for (i = 0; i < 256; ++i)
|
||||
gWaveModelTable[5][i] = (char)(rand() & 0xFF) / 2;
|
||||
gWaveModelTable[5][i] = (char)(rep_rand() & 0xFF) / 2;
|
||||
}
|
||||
|
||||
BOOL MakePixelWaveData(const PIXTONEPARAMETER *ptp, unsigned char *pData)
|
||||
|
|
Loading…
Add table
Reference in a new issue