Genesis: add alternate clock speed
This commit is contained in:
parent
15d310077d
commit
6b040084e0
3 changed files with 7 additions and 1 deletions
|
|
@ -794,7 +794,9 @@ void DivPlatformGenesis::setYMFM(bool use) {
|
|||
}
|
||||
|
||||
void DivPlatformGenesis::setFlags(unsigned int flags) {
|
||||
if (flags==2) {
|
||||
if (flags==3) {
|
||||
chipClock=COLOR_NTSC*12.0/7.0;
|
||||
} else if (flags==2) {
|
||||
chipClock=8000000.0;
|
||||
} else if (flags==1) {
|
||||
chipClock=COLOR_PAL*12.0/7.0;
|
||||
|
|
|
|||
|
|
@ -146,6 +146,7 @@ struct DivSong {
|
|||
// - 0: Genesis NTSC (7.67MHz)
|
||||
// - 1: Genesis PAL (7.61MHz)
|
||||
// - 2: 8MHz
|
||||
// - 3: AtGames Genesis (???)
|
||||
// - YM2151:
|
||||
// - bit 0-1: clock rate
|
||||
// - 0: 3.58MHz (NTSC)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue