From 25302a2513307a3a41b76f5e568f0916713c0620 Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 21 Sep 2021 21:17:14 +0100 Subject: Imported V1.9 --- src/output.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/output.c') 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; } -- cgit v1.2.3