NDS: fix custom clock not working
This commit is contained in:
parent
f04fa49de2
commit
07fd199ffd
|
@ -572,6 +572,7 @@ void DivPlatformNDS::renderSamples(int sysID) {
|
||||||
void DivPlatformNDS::setFlags(const DivConfig& flags) {
|
void DivPlatformNDS::setFlags(const DivConfig& flags) {
|
||||||
isDSi=flags.getBool("chipType",0);
|
isDSi=flags.getBool("chipType",0);
|
||||||
chipClock=33513982;
|
chipClock=33513982;
|
||||||
|
CHECK_CUSTOM_CLOCK;
|
||||||
rate=chipClock/2;
|
rate=chipClock/2;
|
||||||
for (int i=0; i<16; i++) {
|
for (int i=0; i<16; i++) {
|
||||||
oscBuf[i]->setRate(rate);
|
oscBuf[i]->setRate(rate);
|
||||||
|
|
Loading…
Reference in a new issue