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