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