Fix CD volume issue in Star Wars - Dark Forces. (#232)
authorgameblabla <gameblabla@users.noreply.github.com>
Mon, 18 Oct 2021 20:20:09 +0000 (20:20 +0000)
committerGitHub <noreply@github.com>
Mon, 18 Oct 2021 20:20:09 +0000 (23:20 +0300)
commitb64fb8912577f6f1e856bf255b6bd96e4e977203
tree28751efba1910210895e8714230c852c31ff1cea
parent7bbabe80066083236adfd653f289de17443a7dd8
Fix CD volume issue in Star Wars - Dark Forces. (#232)

CD Volume is 16-bits signed, not unsigned.
Otherwise in Star Wars Dark Forces :
If you set the volume slider to the minimum value allowed
for the CD Volume, it will overflow and wrap around (to the maximum volume).
plugins/dfsound/externals.h
plugins/dfsound/registers.c
plugins/dfsound/spu.c
plugins/spunull/spunull.c