add ability to select custom clock rates
This commit is contained in:
parent
d6d6743740
commit
c6604ff581
43 changed files with 113 additions and 50 deletions
|
|
@ -486,7 +486,8 @@ void DivPlatformSegaPCM::reset() {
|
|||
|
||||
void DivPlatformSegaPCM::setFlags(const DivConfig& flags) {
|
||||
chipClock=8000000.0;
|
||||
rate=31250;
|
||||
CHECK_CUSTOM_CLOCK;
|
||||
rate=chipClock/256;
|
||||
for (int i=0; i<16; i++) {
|
||||
oscBuf[i]->rate=rate;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue