From 6d969cc39f58d5d92829f32d1709585b27da779f Mon Sep 17 00:00:00 2001 From: raven02 Date: Thu, 27 Jun 2013 18:54:50 +0800 Subject: [PATCH] Performance fix : disable atrac3 along when sound disabled --- UI/MenuScreens.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UI/MenuScreens.cpp b/UI/MenuScreens.cpp index 5cdb7fd55d..c21e3fff7a 100644 --- a/UI/MenuScreens.cpp +++ b/UI/MenuScreens.cpp @@ -755,7 +755,8 @@ void AudioScreen::render() { if (Atrac3plus_Decoder::IsSupported()) { if (Atrac3plus_Decoder::IsInstalled() && g_Config.bEnableSound) { UICheckBox(GEN_ID, x + 60, y += stride, a->T("Enable Atrac3+"), ALIGN_TOPLEFT, &g_Config.bEnableAtrac3plus); - } + } else + g_Config.bEnableAtrac3plus = false; VLinear vlinear(30, 200, 20); if (UIButton(GEN_ID, vlinear, 400, 0, a->T("Download Atrac3+ plugin"), ALIGN_LEFT)) {