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 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;
}