forked from len0rd/rockbox
Deboost under all exits for rockdoom thanks to patch 5851 by David Dent
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11100 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
76e5d6ca4c
commit
4caa676a9c
1 changed files with 8 additions and 2 deletions
|
|
@ -827,8 +827,14 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
rb->lcd_clear_display();
|
||||
|
||||
int result = doom_menu();
|
||||
if( result == -1 ) return PLUGIN_OK; // Quit was selected
|
||||
else if( result == -2 ) return PLUGIN_ERROR; // Missing base wads
|
||||
if (result < 0)
|
||||
{
|
||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||
rb->cpu_boost(false);
|
||||
#endif
|
||||
if( result == -1 ) return PLUGIN_OK; // Quit was selected
|
||||
else if( result == -2 ) return PLUGIN_ERROR; // Missing base wads
|
||||
}
|
||||
|
||||
Dhandle_ver( namemap[ result ] );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue