--- np2/cbus/amd98.c 2003/10/16 17:58:01 1.1.1.1 +++ np2/cbus/amd98.c 2003/11/08 21:43:01 1.3 @@ -5,8 +5,6 @@ #include "amd98.h" #include "sound.h" #include "fmboard.h" -#include "beep.h" -#include "s98.h" static void setamd98event(BOOL absolute) { @@ -19,6 +17,9 @@ static void setamd98event(BOOL absolute) else { cnt = pc.multiple << 16; } + if (pc.baseclock == PCBASECLOCK25) { + cnt = cnt * 16 / 13; // cnt * 2457600 / 1996800 + } nevent_set(NEVENT_MUSICGEN, cnt, amd98int, absolute); }