From 45fd0ca73ec84a9b605f918a7b1b3497d2a25b33 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 20 May 2016 15:23:00 +0100 Subject: First pass at NES ROM support. --- 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 ac05216..1067b96 100644 --- a/src/output.c +++ b/src/output.c @@ -54,7 +54,8 @@ typedef enum ZX81, GAMEBOY, SNES, - LIBRARY + LIBRARY, + NES } Format; static char output[4096] = "output"; @@ -71,6 +72,7 @@ static ValueTable format_table[] = {"gameboy", GAMEBOY}, {"snes", SNES}, {"lib", LIBRARY}, + {"nes", NES}, {NULL} }; @@ -160,6 +162,10 @@ int OutputCode(void) return LibOutput(output, output_bank, bank, count, error, sizeof error); + case NES: + return NESOutput(output, output_bank, bank, count, + error, sizeof error); + default: break; } -- cgit v1.2.3