aboutsummaryrefslogtreecommitdiff
path: root/src/output.c
diff options
context:
space:
mode:
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 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;
}