aboutsummaryrefslogtreecommitdiff
path: root/src/output.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2016-12-16 16:49:34 +0000
committerIan C <ianc@noddybox.co.uk>2016-12-16 16:49:34 +0000
commit3b86882357e8e02fc2740f16780d1c4620ea0c57 (patch)
treef1197d92e3472c71ff9a9a80dfdb49ebaed569ea /src/output.c
parent0127dbc7c79ba19c21ef07f2b1764857f5bf9717 (diff)
Added initial files for CPC output.
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 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;
}