mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 13:05:11 +00:00
Merge branch 'brr'
This commit is contained in:
commit
b94493dcc0
2 changed files with 3 additions and 1 deletions
|
@ -126,6 +126,8 @@ void brrEncodeBlock(const short* buf, unsigned char* out, unsigned char range, u
|
|||
break;
|
||||
}
|
||||
|
||||
if (nextDec>32767) nextDec=32767;
|
||||
if (nextDec<-32768) nextDec=-32768;
|
||||
nextDec&=0x7fff;
|
||||
if (nextDec&0x4000) nextDec|=0xffff8000;
|
||||
|
||||
|
|
|
@ -498,6 +498,7 @@ void DivPlatformSMS::setFlags(const DivConfig& flags) {
|
|||
easyStartingPeriod=13;
|
||||
break;
|
||||
}
|
||||
CHECK_CUSTOM_CLOCK;
|
||||
resetPhase=!flags.getBool("noPhaseReset",false);
|
||||
easyNoise=!flags.getBool("noEasyNoise",false);
|
||||
divider=16;
|
||||
|
@ -568,7 +569,6 @@ void DivPlatformSMS::setFlags(const DivConfig& flags) {
|
|||
stereo=false;
|
||||
break;
|
||||
}
|
||||
CHECK_CUSTOM_CLOCK;
|
||||
rate=chipClock/divider;
|
||||
for (int i=0; i<4; i++) {
|
||||
oscBuf[i]->rate=rate;
|
||||
|
|
Loading…
Reference in a new issue