make the flags option actually work

This commit is contained in:
tildearrow 2022-01-29 00:20:27 -05:00
parent 44649e3ce4
commit b6da7871d4
19 changed files with 208 additions and 68 deletions

View file

@ -308,7 +308,13 @@ void DivPlatformSAA1099::notifyInsDeletion(void* ins) {
}
void DivPlatformSAA1099::setFlags(unsigned int flags) {
chipClock=8000000;
if (flags==2) {
chipClock=COLOR_PAL*8.0/5.0;
} else if (flags==1) {
chipClock=COLOR_NTSC*2.0;
} else {
chipClock=8000000;
}
rate=chipClock/32;
}