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:
parent
da0e0e564a
commit
64b227e3ba
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue