mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
Update DUMB to revision 1a9e0d4fd889dc9d17a5ebe97825be0cb2b7a273
- Added range checking for XM global volume command SVN r4074 (trunk)
This commit is contained in:
parent
492caf6ceb
commit
aad103c8d5
1 changed files with 1 additions and 0 deletions
|
@ -167,6 +167,7 @@ if (log) printf(" - %2d %02X", effect, value);
|
||||||
case XM_SET_GLOBAL_VOLUME:
|
case XM_SET_GLOBAL_VOLUME:
|
||||||
effect = IT_SET_GLOBAL_VOLUME;
|
effect = IT_SET_GLOBAL_VOLUME;
|
||||||
value *= 2;
|
value *= 2;
|
||||||
|
if (value > 128) value = 128;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case XM_KEY_OFF:
|
case XM_KEY_OFF:
|
||||||
|
|
Loading…
Reference in a new issue