2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 11:07:44 +00:00

MREA cooker fixes

This commit is contained in:
Jack Andersen
2016-08-12 09:42:18 -10:00
parent 42d39bf6b9
commit 4cdb93f980
6 changed files with 48 additions and 4 deletions

View File

@@ -344,7 +344,7 @@ bool MREA::PCCook(const hecl::ProjectPath& outPath,
FILE* yamlFile = hecl::Fopen(layer.getAbsolutePath().c_str(), _S("r"));
if (!yamlFile)
continue;
if (!BigYAML::ValidateFromYAMLFile<DNAMP1::SCLY>(yamlFile))
if (!BigYAML::ValidateFromYAMLFile<DNAMP1::SCLY::ScriptLayer>(yamlFile))
{
fclose(yamlFile);
continue;