From 6bc2d2316e32c3c4894eddb0048eea72b5cf37a8 Mon Sep 17 00:00:00 2001 From: fourstix Date: Sat, 5 Apr 2025 15:51:19 -0400 Subject: [PATCH] Fixed format string for C output for instrument command[C --- miditones.c | 2 +- miditones.exe | Bin 186880 -> 186880 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/miditones.c b/miditones.c index 828ce6e..f283edc 100644 --- a/miditones.c +++ b/miditones.c @@ -1097,7 +1097,7 @@ void remove_queue_entry(int ndx) { // remove the oldest queue entry fprintf(outfile, "%3d", tg->note.instrument); outfile_items(1); } else { - fprintf(outfile, "$%02X,%d, ", CMD_INSTRUMENT | tgnum, tg->note.instrument); + fprintf(outfile, "0x%02X,%d, ", CMD_INSTRUMENT | tgnum, tg->note.instrument); outfile_items(2); } } } if (loggen) fprintf(logfile, " play tgen %d %s\n", tgnum, describe(&q->note)); tg->playing = true; diff --git a/miditones.exe b/miditones.exe index ee4436541d727051f4af4aacd6eab7bce5f0081e..9272c82fc2e9f10f26413fd4f439f4cd43eaf2c7 100644 GIT binary patch delta 48 zcmZqJ!ricid%_Q+c*q%S1X`&SX D4mc9G