mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:47:42 +00:00
Athena YAML refactor
This commit is contained in:
@@ -45,9 +45,8 @@ static bool ExtractSAVW(PAKEntryReadStream& rs, const hecl::ProjectPath& outPath
|
||||
{
|
||||
SAVW savw;
|
||||
savw.read(rs);
|
||||
FILE* fp = hecl::Fopen(outPath.getAbsolutePath().c_str(), _S("wb"));
|
||||
savw.toYAMLFile(fp);
|
||||
fclose(fp);
|
||||
athena::io::FileWriter writer(outPath.getAbsolutePath());
|
||||
savw.toYAMLStream(writer);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user