Index: guilib/SkinInfo.cpp =================================================================== --- guilib/SkinInfo.cpp (revision 30566) +++ guilib/SkinInfo.cpp (working copy) @@ -197,9 +197,13 @@ CStdString strPathToUse = m_strBaseDir; if (!strBaseDir.IsEmpty()) strPathToUse = strBaseDir; + // if the caller doesn't care about the resolution just use a temporary + RESOLUTION tempRes = INVALID; + if (!res) + res = &tempRes; + // first try and load from the current resolution's directory - if (!res) - *res = g_graphicsContext.GetVideoResolution(); + *res = g_graphicsContext.GetVideoResolution(); CStdString strPath = CUtil::AddFileToFolder(strPathToUse, GetDirFromRes(*res)); strPath = CUtil::AddFileToFolder(strPath, strFile); if (CFile::Exists(strPath))