From 7dfbb005312fecaeb0bfa08175678ec1f4143165 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Thu, 27 Mar 2025 18:26:39 +0300 Subject: Chips: Don't divide OPL2 output by 2 --- src/chips/ymfm_opl2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chips/ymfm_opl2.cpp') diff --git a/src/chips/ymfm_opl2.cpp b/src/chips/ymfm_opl2.cpp index 5e8ea32..beb6c16 100644 --- a/src/chips/ymfm_opl2.cpp +++ b/src/chips/ymfm_opl2.cpp @@ -99,7 +99,7 @@ void YmFmOPL2::nativeGenerate(int16_t *frame) } chip_r->generate(&frames_i); - frame[0] = static_cast(ymfm::clamp(frames_i.data[0] / 2, -32768, 32767)); + frame[0] = static_cast(ymfm::clamp(frames_i.data[0], -32768, 32767)); frame[1] = frame[0]; } -- cgit v1.2.3