Slight code cleanups, fixed sound parameter - now it saves. Old configurations will be reset.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9682 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2006-04-15 22:08:36 +00:00
parent 75b6abb114
commit 4e2a74c2b4
7 changed files with 73 additions and 109 deletions

View file

@ -660,6 +660,7 @@ static bool Doptions()
case 0: /* Sound */
nosfxparm=!nosfxparm; // Have to invert it before setting
rb->set_option("Sound", &nosfxparm, INT, onoff, 2, NULL );
nosfxparm=!nosfxparm;
break;
case 1: /* Keys */
@ -784,6 +785,8 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
rb = api;
(void)parameter;
doomexit=0;
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
rb->cpu_boost(true);
#endif