diff options
-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); } } |