From: Toni Wilen Date: Wed, 14 Oct 2015 17:09:41 +0000 (+0300) Subject: Use documented crystal value. Some boards have correct one, some have wrong for some... X-Git-Tag: 3200~28 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=9d503898c6212e27127249723f9fd48bd830ed7f;p=francis%2Fwinuae.git Use documented crystal value. Some boards have correct one, some have wrong for some reason. --- diff --git a/sndboard.cpp b/sndboard.cpp index b77f324b..578a7c67 100644 --- a/sndboard.cpp +++ b/sndboard.cpp @@ -197,7 +197,10 @@ static void calculate_volume_toccata(void) static const int freq_crystals[] = { // AD1848 documentation says 24.576MHz but photo of board shows 24.582MHz - 24582000, + // Added later: It seems there are boards that have correct crystal and + // also boards with wrong crystal.. + // So we can use correct one in emulation. + 24576000, 16934400 }; static const int freq_dividers[] = {