diff options
author | Ian C <ianc@noddybox.co.uk> | 2016-12-16 16:49:34 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2016-12-16 16:49:34 +0000 |
commit | 3b86882357e8e02fc2740f16780d1c4620ea0c57 (patch) | |
tree | f1197d92e3472c71ff9a9a80dfdb49ebaed569ea /src/output.c | |
parent | 0127dbc7c79ba19c21ef07f2b1764857f5bf9717 (diff) |
Added initial files for CPC output.
Diffstat (limited to 'src/output.c')
-rw-r--r-- | src/output.c | 8 |
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; } |