aboutsummaryrefslogtreecommitdiff
path: root/src/output.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2021-09-21 21:17:14 +0100
committerIan C <ianc@noddybox.co.uk>2021-09-21 21:17:14 +0100
commit25302a2513307a3a41b76f5e568f0916713c0620 (patch)
tree64e005fc00187b959b74aeb4c0a3b90449df7605 /src/output.c
parent4615bf4b669af244f7a2aa71af60cb363b08c472 (diff)
Imported V1.9V1.9
Diffstat (limited to 'src/output.c')
-rw-r--r--src/output.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/output.c b/src/output.c
index 66abfae..9a30a76 100644
--- a/src/output.c
+++ b/src/output.c
@@ -56,7 +56,8 @@ typedef enum
SNES,
LIBRARY,
NES,
- CPC
+ CPC,
+ PRG
} Format;
static char output[4096] = "output";
@@ -75,6 +76,7 @@ static ValueTable format_table[] =
{"lib", LIBRARY},
{"nes", NES},
{"cpc", CPC},
+ {"prg", PRG},
{NULL}
};
@@ -172,6 +174,10 @@ int OutputCode(void)
return CPCOutput(output, output_bank, bank, count,
error, sizeof error);
+ case PRG:
+ return PRGOutput(output, output_bank, bank, count,
+ error, sizeof error);
+
default:
break;
}