From 5e7a4eae16ed7a82a499855d87326f77c9a67d80 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 17 Apr 2022 05:01:54 -0500 Subject: [PATCH] VERA: finally proper volume --- src/engine/platform/vera.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/platform/vera.cpp b/src/engine/platform/vera.cpp index 99da6062e..99c6f8822 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); + bufL[pos]=(short)(((int)buf[0][i]+buf[2][i])/2); + bufR[pos]=(short)(((int)buf[1][i]+buf[3][i])/2); pos++; } len-=curLen; @@ -377,7 +377,7 @@ void DivPlatformVERA::muteChannel(int ch, bool mute) { } float DivPlatformVERA::getPostAmp() { - return 4.0f; + return 8.0f; } bool DivPlatformVERA::isStereo() {