Minor changes.
h3rald h3rald@h3rald.com
Thu, 04 Dec 2025 16:21:07 +0100
1 files changed,
0 insertions(+),
4 deletions(-)
jump to
M
xyw.c
→
xyw.c
@@ -28,10 +28,8 @@ }
else { const char *input_file = argv[i]; - // Output file is the same as input but with .rom extension char output_file[256]; snprintf(output_file, sizeof(output_file), "%.*s.xim", (int)(strlen(input_file) - 4), input_file); - // Only assemble if input file ends with .xyw const char *ext = strrchr(input_file, '.'); if (ext && strcmp(ext, ".xyw") == 0) {@@ -50,8 +48,6 @@ }
} else if (ext && strcmp(ext, ".xim") == 0) { - // Load and run the .xim file - // (Assuming a run function exists) if (xyw_run(input_file) != 0) { fprintf(stderr, "Execution failed for file: %s\n", input_file);