PatchSet only serializes patches
to the file.
This commit is contained in:
parent
4cbc70eeca
commit
975d6fd420
2 changed files with 17 additions and 3 deletions
|
@ -49,8 +49,7 @@ fn main() -> Result<(), anyhow::Error> {
|
|||
patches.add_patches(rom_patches);
|
||||
|
||||
println!("Writing output file {}", output_path);
|
||||
let out_file = File::create(&output_path)?;
|
||||
serde_json::to_writer(out_file, &patches)?;
|
||||
patches.save_to_file(Path::new(&output_path))?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue