output_type is now part of custom target config and atari again defaults to .xex

This commit is contained in:
Irmen de Jong
2025-04-09 20:43:44 +02:00
parent 37b3868ca3
commit 0ee42b9aa0
16 changed files with 18 additions and 6 deletions

View File

@@ -384,13 +384,13 @@ internal fun determineCompilationOptions(program: Program, compTarget: ICompilat
.toList()
val outputType = if (outputTypeStr == null) {
OutputType.PRG
compTarget.defaultOutputType
} else {
try {
OutputType.valueOf(outputTypeStr)
} catch (_: IllegalArgumentException) {
// set default value; actual check and error handling of invalid option is handled in the AstChecker later
OutputType.PRG
compTarget.defaultOutputType
}
}
var launcherType = if (launcherTypeStr == null)