Use the filename from the OS enum in all places in builder.

This commit is contained in:
Bas Wiel, van de 2024-04-28 17:50:15 +02:00
parent 6df989d05c
commit 0e0296ecad
1 changed files with 3 additions and 3 deletions

View File

@ -71,14 +71,14 @@ impl DiskBuilder {
.to_vec();
filesystem.mkfile(
None,
"ibmbio.com",
operating_system.get_iosys().as_str(),
iosys.as_slice(),
&root_partition,
&mut disk,
)?;
filesystem.write_file(
msdossys.as_slice(),
"ibmdos.com",
operating_system.get_msdossys().as_str(),
None,
Some(DirEntryType::SysFile),
&root_partition,
@ -86,7 +86,7 @@ impl DiskBuilder {
)?;
filesystem.write_file(
commandcom.as_slice(),
"command.com",
operating_system.get_commandcom().as_str(),
None,
Some(DirEntryType::File),
&root_partition,