From 1993f3135205b54f6a9a08b902c9f7b7449c0b66 Mon Sep 17 00:00:00 2001 From: retro-wertz Date: Wed, 5 Dec 2018 15:09:13 +0800 Subject: [PATCH] Fix wrong info in some comments --- src/sound.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sound.c b/src/sound.c index 0891eb7..1c4d633 100644 --- a/src/sound.c +++ b/src/sound.c @@ -761,7 +761,7 @@ static void RDoTriangleNoisePCMLQ(void) { else amptab[0] = EnvUnits[2].decvolume; - /* Modify Square wave volume based on channel volume modifiers + /* Modify Triangle wave volume based on channel volume modifiers * Note: the formulat x = x * y /100 does not yield exact results, * but is "close enough" and avoids the need for using double vales * or implicit cohersion which are slower (we need speed here) @@ -872,7 +872,7 @@ static void RDoNoise(void) { else amptab[0] = EnvUnits[2].decvolume; - /* Modify Square wave volume based on channel volume modifiers + /* Modify Noise wave volume based on channel volume modifiers * Note: the formulat x = x * y /100 does not yield exact results, * but is "close enough" and avoids the need for using double vales * or implicit cohersion which are slower (we need speed here)