Merge pull request #2497 from raven02/patch-15

Performance fix : disable atrac3+ along when sound disabled
This commit is contained in:
Henrik Rydgård 2013-06-27 03:59:06 -07:00
commit b0f4849277

View File

@ -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)) {