From 74c0ab7d42baf568968d4ce0bfe1e5180acd6745 Mon Sep 17 00:00:00 2001 From: Jonathan Campbell Date: Fri, 26 Jun 2020 15:44:57 -0700 Subject: [PATCH] [Pipeline] bmp2arr: Binary output --- Pipeline/bmp2arr.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Pipeline/bmp2arr.c b/Pipeline/bmp2arr.c index 1c77bd4b..dc6681ba 100644 --- a/Pipeline/bmp2arr.c +++ b/Pipeline/bmp2arr.c @@ -32,7 +32,8 @@ enum rec98_bmp2arr_output_type { REC98_OUT_C=0, REC98_OUT_ASM, - REC98_OUT_OMF + REC98_OUT_OMF, + REC98_OUT_BIN }; /* the task at hand */ @@ -381,6 +382,8 @@ static int parse_argv(struct rec98_bmp2arr_task *tsk,int argc,char **argv) { tsk->output_type = REC98_OUT_OMF; else if (!strcmp(a,"asm")) tsk->output_type = REC98_OUT_ASM; + else if (!strcmp(a,"bin")) + tsk->output_type = REC98_OUT_BIN; else if (!strcmp(a,"c")) tsk->output_type = REC98_OUT_C; else