From 21ab10c30cc4109541655e6f7bcebf84fd76d397 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 12 Jan 2023 23:16:33 -0500 Subject: [PATCH] N163: fix crash --- src/engine/platform/n163.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/platform/n163.cpp b/src/engine/platform/n163.cpp index 7f337e98..a6553279 100644 --- a/src/engine/platform/n163.cpp +++ b/src/engine/platform/n163.cpp @@ -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;