Set some default values for CLI (fixes #863)

This commit is contained in:
Matt Nadareski
2025-06-18 09:34:35 -04:00
parent 6612c8ea4d
commit 48ffd6f40c
2 changed files with 6 additions and 2 deletions

View File

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

View File

@@ -235,9 +235,12 @@ namespace MPF.CLI
private static CommandOptions InteractiveMode(Options options, out MediaType mediaType, out RedumpSystem? system)
{
// Create return values
var opts = new CommandOptions();
var opts = new CommandOptions
{
FilePath = Path.Combine(options.DefaultOutputPath, "track.bin"),
};
mediaType = MediaType.NONE;
system = null;
system = options.DefaultSystem;
// Create state values
string? result = string.Empty;