diff options
author | Ian C <ianc@noddybox.co.uk> | 2016-05-04 13:48:43 +0100 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2016-05-04 13:48:43 +0100 |
commit | a395d7bf01456620806ae521878a60bdad8dc6e5 (patch) | |
tree | d32b5903d59029227c454ffbb9213cd017f22429 /src/output.c | |
parent | 9b4f1b54a5b340ae094d33c7ef0eff49b86af489 (diff) |
First pass at SNES ROM output.
Still to do:
* ROM type
* ROM checksums
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 7d42565..71eb786 100644 --- a/src/output.c +++ b/src/output.c @@ -52,7 +52,8 @@ typedef enum TAP, T64, ZX81, - GAMEBOY + GAMEBOY, + SNES } Format; static char output[4096] = "output"; @@ -67,6 +68,7 @@ static ValueTable format_table[] = {"t64", T64}, {"zx81", ZX81}, {"gameboy", GAMEBOY}, + {"snes", SNES}, {NULL} }; @@ -148,6 +150,10 @@ int OutputCode(void) return GBOutput(output, output_bank, bank, count, error, sizeof error); + case SNES: + return SNESOutput(output, output_bank, bank, count, + error, sizeof error); + default: break; } |