Doom: re-add the missing modulus operation I removed in r22097

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22098 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-08-01 16:10:25 +00:00
parent da0e0e564a
commit 64b227e3ba

View file

@ -717,7 +717,7 @@ enum plugin_status plugin_start(const void* parameter)
int mod = (rb->sound_max(SOUND_VOLUME)-rb->sound_min(SOUND_VOLUME))/15;
if(mod == 0)
mod = rb->global_settings->volume;
systemvol= rb->global_settings->volume-rb->global_settings->volume;
systemvol= rb->global_settings->volume-rb->global_settings->volume%mod;
general_translucency = default_translucency; // phares
backlight_force_on();