summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/doom/rockdoom.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/plugins/doom/rockdoom.c b/apps/plugins/doom/rockdoom.c
index 26afad6dc1..718a7b9f47 100644
--- a/apps/plugins/doom/rockdoom.c
+++ b/apps/plugins/doom/rockdoom.c
@@ -827,8 +827,14 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
827 rb->lcd_clear_display(); 827 rb->lcd_clear_display();
828 828
829 int result = doom_menu(); 829 int result = doom_menu();
830 if( result == -1 ) return PLUGIN_OK; // Quit was selected 830 if (result < 0)
831 else if( result == -2 ) return PLUGIN_ERROR; // Missing base wads 831 {
832#ifdef HAVE_ADJUSTABLE_CPU_FREQ
833 rb->cpu_boost(false);
834#endif
835 if( result == -1 ) return PLUGIN_OK; // Quit was selected
836 else if( result == -2 ) return PLUGIN_ERROR; // Missing base wads
837 }
832 838
833 Dhandle_ver( namemap[ result ] ); 839 Dhandle_ver( namemap[ result ] );
834 840