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)?;