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

@ -255,11 +255,12 @@ void DivPlatformTIA::notifyInsDeletion(void* ins) {
}
void DivPlatformTIA::setFlags(unsigned int flags) {
if (flags) {
if (flags&1) {
rate=31250;
} else {
rate=31400;
rate=31468;
}
chipClock=rate;
}
int DivPlatformTIA::init(DivEngine* p, int channels, int sugRate, unsigned int flags) {