Hide the atrac3plusdecoder autoinstaller on platforms where it's not yet supported

This commit is contained in:
Henrik Rydgard committed 2013-06-05 00:03:37 +02:00
1 parent 394a6a0f5c
commit 691771244f
2 files changed
+9

No files matched your search

+5
View File
@@ -693,11 +693,16 @@ void AudioScreen::render() {
UICheckBox(GEN_ID, x, y += stride, a->T("Enable Atrac3+"), ALIGN_TOPLEFT, &g_Config.bEnableAtrac3plus);
}
#if (defined(_WIN32) && (defined(_M_IX86) || defined(_M_X64))) || defined(ARMEABI) || defined(ARMEABI_V7A)
VLinear vlinear(30, 300, 20);
if (UIButton(GEN_ID, vlinear, 400, 0, a->T("Download Atrac3+ plugin"), ALIGN_LEFT)) {
screenManager()->push(new PluginScreen());
}
#endif
UIEnd();
}