ref: a43b458e676b7ee6d9a174770bfdd8e1be4e5a65
parent: 03e0034bca7c1c13391010af3b5dddb4644a9998
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Feb 10 10:04:16 EST 2019
Made PixTone use the new rand function
--- a/src/PixTone.cpp
+++ b/src/PixTone.cpp
@@ -56,7 +56,7 @@
// 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)