From 8ce8e87922cc7a1679218d01cad57e51dc79992e Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 14 Apr 2022 02:04:18 -0500 Subject: [PATCH] VERA: halve PCM volume this should be good --- src/engine/platform/vera.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/platform/vera.cpp b/src/engine/platform/vera.cpp index 68c214ddb..593c1a0c7 100644 --- a/src/engine/platform/vera.cpp +++ b/src/engine/platform/vera.cpp @@ -114,8 +114,8 @@ void DivPlatformVERA::acquire(short* bufL, short* bufR, size_t start, size_t len psg_render(psg,buf[0],buf[1],curLen); pcm_render(pcm,buf[2],buf[3],curLen); for (int i=0; i>1))/2); + bufR[pos]=(short)(((int)buf[1][i]+(buf[3][i]>>1))/2); pos++; } len-=curLen;