From e802b610015d303dae1a096e07d61b6e9c17fc6f Mon Sep 17 00:00:00 2001 From: Luke Street Date: Mon, 7 Aug 2023 20:03:58 -0400 Subject: [PATCH] Fix autogenerated unit output in config.json --- src/cmd/dol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/dol.rs b/src/cmd/dol.rs index 9070f65..d0f5663 100644 --- a/src/cmd/dol.rs +++ b/src/cmd/dol.rs @@ -270,7 +270,7 @@ fn split(args: SplitArgs) -> Result<()> { out_config.units.push(OutputUnit { object: out_path.clone(), name: unit.clone(), - autogenerated: false, + autogenerated: obj.is_unit_autogenerated(unit), }); if let Some(parent) = out_path.parent() { DirBuilder::new().recursive(true).create(parent)?;