diff options
author | Ian C <ianc@noddybox.co.uk> | 2016-05-06 16:12:42 +0100 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2016-05-06 16:12:42 +0100 |
commit | d3713129e61a8953a61b8f15f7be6a3110197ed5 (patch) | |
tree | 2b6bc2e0ca728dc17bb3fbcba7632b6a929797e4 /src/output.c | |
parent | 0b3c0e2a2e347db8af3f29d4dc8c86797981bc85 (diff) |
Added simple library format.
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 71eb786..8a8d230 100644 --- a/src/output.c +++ b/src/output.c @@ -53,7 +53,8 @@ typedef enum T64, ZX81, GAMEBOY, - SNES + SNES, + LIBRARY } Format; static char output[4096] = "output"; @@ -69,6 +70,7 @@ static ValueTable format_table[] = {"zx81", ZX81}, {"gameboy", GAMEBOY}, {"snes", SNES}, + {"lib", LIBRARY}, {NULL} }; @@ -154,6 +156,10 @@ int OutputCode(void) return SNESOutput(output, output_bank, bank, count, error, sizeof error); + case LIBRARY: + return LibOutput(output, output_bank, bank, count, + error, sizeof error); + default: break; } |