mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 21:15:11 +00:00
Merge branch 'master' of github.com:tildearrow/furnace
This commit is contained in:
commit
7775ecebc8
1 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,11 @@ void DivPlatformPCE::acquire(short* bufL, short* bufR, size_t start, size_t len)
|
||||||
pce->Update(4);
|
pce->Update(4);
|
||||||
pce->ResetTS(0);
|
pce->ResetTS(0);
|
||||||
|
|
||||||
|
if (tempL<-32768) tempL=-32768;
|
||||||
|
if (tempL>32767) tempL=32767;
|
||||||
|
if (tempR<-32768) tempR=-32768;
|
||||||
|
if (tempR>32767) tempR=32767;
|
||||||
|
|
||||||
//printf("tempL: %d tempR: %d\n",tempL,tempR);
|
//printf("tempL: %d tempR: %d\n",tempL,tempR);
|
||||||
bufL[h]=tempL;
|
bufL[h]=tempL;
|
||||||
bufR[h]=tempR;
|
bufR[h]=tempR;
|
||||||
|
|
Loading…
Reference in a new issue