diff options
author | 2023-04-07 20:55:38 +0200 | |
---|---|---|
committer | 2023-04-07 20:55:38 +0200 | |
commit | 8994dbb3f692f03e8c5120d2b66bf135779c7c9d (patch) | |
tree | a32ecbe2aef59bb855376df2d971bc22da4a3bb9 | |
parent | b0e88ea91548035993d295e80733e684236afb37 (diff) |
vboysound.cpp: fix longstanding regression with way overdriven outputs
-rw-r--r-- | src/mame/shared/vboysound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/shared/vboysound.cpp b/src/mame/shared/vboysound.cpp index 5cb56eddabf..aad7975c851 100644 --- a/src/mame/shared/vboysound.cpp +++ b/src/mame/shared/vboysound.cpp @@ -384,8 +384,8 @@ void vboysnd_device::sound_stream_update(sound_stream &stream, std::vector<read_ note_left = (note_left << 5) | ((note_left >> 6) & 0x1f); note_right = (note_right << 5) | ((note_right >> 6) & 0x1f); - outL.put_int_clamp(j, (int16_t)note_left, 32768); - outR.put_int_clamp(j, (int16_t)note_right, 32768); + outL.put_int_clamp(j, note_left, 32768); + outR.put_int_clamp(j, note_right, 32768); } } |