From 29ecd3b297f3d7ce48e6cac70458c6b55b95da75 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 12 Apr 2015 03:27:20 +0200 Subject: [PATCH] (Mobile) Don't enable threaded data runloop by default for mobile right now - drains CPU right now --- config.def.h | 6 ++++++ settings.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index 9a7cbc6d58..a5eabacf99 100644 --- a/config.def.h +++ b/config.def.h @@ -407,6 +407,12 @@ static unsigned swap_interval = 1; */ static const bool video_threaded = false; +#ifdef HAVE_MOBILE +static const bool threaded_data_runloop_enable = false; +#else +static const bool threaded_data_runloop_enable = true; +#endif + /* Set to true if HW render cores should get their private context. */ static const bool video_shared_context = false; diff --git a/settings.c b/settings.c index c2ec80c73b..a2e4128408 100644 --- a/settings.c +++ b/settings.c @@ -5335,7 +5335,7 @@ static bool setting_append_list_menu_options( settings->menu.threaded_data_runloop_enable, "threaded_data_runloop_enable", "Threaded data runloop", - true, + threaded_data_runloop_enable, "OFF", "ON", group_info.name,