From 6c76515ff95e108aeedd89e253d5833e157e246a Mon Sep 17 00:00:00 2001 From: tildearrow Date: Wed, 1 Mar 2023 15:23:20 -0500 Subject: [PATCH] Game Boy: don't use rand() --- src/engine/platform/sound/gb/apu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/platform/sound/gb/apu.c b/src/engine/platform/sound/gb/apu.c index 8836ddd29..8b29f72de 100644 --- a/src/engine/platform/sound/gb/apu.c +++ b/src/engine/platform/sound/gb/apu.c @@ -178,7 +178,7 @@ static signed interference(GB_gameboy_t *gb) ret /= 4; } - ret += rand() % (MAX_CH_AMP / 12); + //ret += rand() % (MAX_CH_AMP / 12); return ret; }