mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 08:55:45 +00:00
Hack for Full Throttle - aquadran, are you sure these ranges are right?
svn-id: r5384
This commit is contained in:
parent
ffebcc826b
commit
cc0f8c4fb5
@ -190,7 +190,8 @@ void SaudChannel::recalcVolumeTable() {
|
||||
const int32 MAX_BALANCE = 100;
|
||||
int32 volume_left, volume_right;
|
||||
if(_balance < -MAX_BALANCE || _balance > MAX_BALANCE) {
|
||||
error("balance is out of range ! : %d", _balance);
|
||||
warning("balance is out of range ! : %d", _balance);
|
||||
return;
|
||||
}
|
||||
int32 left_multiplier = MAX_BALANCE - _balance;
|
||||
int32 right_multiplier = MAX_BALANCE + _balance;
|
||||
|
Loading…
x
Reference in New Issue
Block a user