aboutsummaryrefslogtreecommitdiff
path: root/src/chips/ymfm_opl2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chips/ymfm_opl2.cpp')
-rw-r--r--src/chips/ymfm_opl2.cpp2
1 files changed, 1 insertions, 1 deletions
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<int16_t>(ymfm::clamp(frames_i.data[0] / 2, -32768, 32767));
+ frame[0] = static_cast<int16_t>(ymfm::clamp(frames_i.data[0], -32768, 32767));
frame[1] = frame[0];
}