From 9d503898c6212e27127249723f9fd48bd830ed7f Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Wed, 14 Oct 2015 20:09:41 +0300 Subject: [PATCH] Use documented crystal value. Some boards have correct one, some have wrong for some reason. --- sndboard.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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[] = { -- 2.47.3