Address nullable default value

This commit is contained in:
Matt Nadareski
2025-06-18 09:40:00 -04:00
parent 48ffd6f40c
commit 0f09a9c913
2 changed files with 2 additions and 1 deletions

View File

@@ -18,6 +18,7 @@
- IsAudio cleanup cleanup
- Remove dead code in DIC processor
- Set some default values for CLI
- Address nullable default value
### 3.3.2 (2025-06-12)

View File

@@ -237,7 +237,7 @@ namespace MPF.CLI
// Create return values
var opts = new CommandOptions
{
FilePath = Path.Combine(options.DefaultOutputPath, "track.bin"),
FilePath = Path.Combine(options.DefaultOutputPath ?? "ISO", "track.bin"),
};
mediaType = MediaType.NONE;
system = options.DefaultSystem;