From 35322eb88b78349c8add895dbb1fbe5bf529c136 Mon Sep 17 00:00:00 2001 From: Brian Troha Date: Sun, 1 Nov 2009 03:38:36 +0000 Subject: [PATCH] fix typo in last submission for the ymf271.c and correct spacing --- src/emu/sound/ymf271.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/emu/sound/ymf271.c b/src/emu/sound/ymf271.c index 3e841f60a30..1baa8a5086b 100644 --- a/src/emu/sound/ymf271.c +++ b/src/emu/sound/ymf271.c @@ -163,15 +163,15 @@ static const double DCTime[] = There are 2 known errors in the LFO table listed in the original manual. Both 201 & 202 were listed as 3.74490. 202 has be corrected to 3.91513 - 232 was listed as 13.35547 but has been replace with 14.35547. + 232 was listed as 13.35547 but has been replaced with 14.35547. Corrections are computed values based on formulas by Olivier Galibert & Nicola Salmoria listed below: LFO period seems easy to compute: -Olivier Galibert's version Nicola Salmoria's version +Olivier Galibert's version Nicola Salmoria's version -int lfo_period(int entry) or int calc_lfo_period(int entry) +int lfo_period(int entry) or int calc_lfo_period(int entry) { { int ma, ex; entry = 256 - entry; entry = 256-entry;