CStdString strSkinPath = g_SkinInfo.GetSkinPath(strXMLname,&res); if (!XFILE::CFile::Exists(strSkinPath)) { // Finally fallback strSkinPath = g_SkinInfo.GetSkinPath(strXMLname,&res,strFallbackPath + "\\skins\\" + strDefault); if (!XFILE::CFile::Exists(strSkinPath)) { strSkinPath = strFallbackPath + "\\skins\\"+ strDefault + "\\pal\\" + strXMLname; res = PAL_4x3; } strXMLname = strSkinPath; // We would do this if we didn't copy the xml to the skin }