diff --git a/es-core/src/ThemeData.cpp b/es-core/src/ThemeData.cpp index d3de108a0..30bbd70ab 100644 --- a/es-core/src/ThemeData.cpp +++ b/es-core/src/ThemeData.cpp @@ -388,6 +388,12 @@ void ThemeData::loadFile(const std::map& sysDataMap, if (mCurrentThemeSet != mThemeSets.cend()) mLegacyTheme = mCurrentThemeSet->second.capabilities.legacyTheme; + // The resolution tag introduced in RetroPie EmulationStation in 2020 is a very bad idea + // as it changes sizing of components from relative values to absolute pixel values. + // So themes using it will simply not get loaded at all. + if (root.child("resolution") != nullptr) + throw error << ": tag not supported"; + // Check for legacy theme version. int legacyVersion {root.child("formatVersion").text().as_int(-1)};