From 3b86882357e8e02fc2740f16780d1c4620ea0c57 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 16 Dec 2016 16:49:34 +0000 Subject: Added initial files for CPC output. --- 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 1067b96..66abfae 100644 --- a/src/output.c +++ b/src/output.c @@ -55,7 +55,8 @@ typedef enum GAMEBOY, SNES, LIBRARY, - NES + NES, + CPC } Format; static char output[4096] = "output"; @@ -73,6 +74,7 @@ static ValueTable format_table[] = {"snes", SNES}, {"lib", LIBRARY}, {"nes", NES}, + {"cpc", CPC}, {NULL} }; @@ -166,6 +168,10 @@ int OutputCode(void) return NESOutput(output, output_bank, bank, count, error, sizeof error); + case CPC: + return CPCOutput(output, output_bank, bank, count, + error, sizeof error); + default: break; } -- cgit v1.2.3