mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
75b6abb114
commit
4e2a74c2b4
7 changed files with 73 additions and 109 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue