SMS: add 1.79MHz option

This commit is contained in:
tildearrow 2022-02-24 18:00:19 -05:00
parent 4b6d9adcb9
commit 28254d4b24
2 changed files with 7 additions and 1 deletions

View file

@ -301,7 +301,9 @@ void DivPlatformSMS::poke(std::vector<DivRegWrite>& wlist) {
}
void DivPlatformSMS::setFlags(unsigned int flags) {
if ((flags&3)==2) {
if ((flags&3)==3) {
chipClock=COLOR_NTSC/2.0;
} else if ((flags&3)==2) {
chipClock=4000000;
} else if ((flags&3)==1) {
chipClock=COLOR_PAL*4.0/5.0;