XML validation. Based on patch by historic_bruno. Refs #245.

This was SVN commit r16733.
This commit is contained in:
leper
2015-06-07 21:56:52 +00:00
parent f260e75499
commit a18fbd12ec
26 changed files with 250 additions and 85 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ void CTextureConverter::Settings::Hash(MD5& hash)
CTextureConverter::SettingsFile* CTextureConverter::LoadSettings(const VfsPath& path) const
{
CXeromyces XeroFile;
if (XeroFile.Load(m_VFS, path) != PSRETURN_OK)
if (XeroFile.Load(m_VFS, path, "texture") != PSRETURN_OK)
return NULL;
// Define all the elements used in the XML file