mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-26 22:43:01 +00:00
N163: fix crash
This commit is contained in:
parent
0c36c0633b
commit
21ab10c30c
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ void DivPlatformN163::acquire(short** buf, size_t len) {
|
|||
int out=(n163.out()<<6)*2; // scale to 16 bit
|
||||
if (out>32767) out=32767;
|
||||
if (out<-32768) out=-32768;
|
||||
buf[0][i]=buf[1][i]=out;
|
||||
buf[0][i]=out;
|
||||
|
||||
if (n163.voice_cycle()==0x78) for (int i=0; i<8; i++) {
|
||||
oscBuf[i]->data[oscBuf[i]->needle++]=n163.voice_out(i)<<7;
|
||||
|
|
Loading…
Reference in a new issue