From 1bb82189e959ff381a648e4e9c52cd980171cdfc Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 13 Feb 2024 10:57:09 -0500 Subject: [PATCH] Add better exposition. --- Components/AY38910/AY38910.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Components/AY38910/AY38910.cpp b/Components/AY38910/AY38910.cpp index 76612c59d..3fa8462e1 100644 --- a/Components/AY38910/AY38910.cpp +++ b/Components/AY38910/AY38910.cpp @@ -17,7 +17,8 @@ AY38910SampleSource::AY38910SampleSource(Personality personality, Con // Don't use the low bit of the envelope position if this is an AY. envelope_position_mask_ |= personality == Personality::AY38910; - // Set up envelope lookup tables. + // Set up envelope lookup tables; these are based on 32 volume levels as used by the YM2149F. + // The AY38910 will just use only even table entries, and therefore only even volumes. for(int c = 0; c < 16; c++) { for(int p = 0; p < 64; p++) { switch(c) {