mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
vboysound.cpp: fix longstanding regression with way overdriven outputs
This commit is contained in:
parent
b0e88ea915
commit
8994dbb3f6
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user