make the flags option actually work
This commit is contained in:
parent
44649e3ce4
commit
b6da7871d4
19 changed files with 208 additions and 68 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue