Update DUMB to revision 1a9e0d4fd889dc9d17a5ebe97825be0cb2b7a273

- Added range checking for XM global volume command



SVN r4074 (trunk)
This commit is contained in:
Randy Heit 2013-02-07 22:24:45 +00:00
parent 492caf6ceb
commit aad103c8d5

View file

@ -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: