diff options
author | Ian C <ianc@noddybox.co.uk> | 2016-04-15 15:58:09 +0100 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2016-04-15 15:58:09 +0100 |
commit | 24ebb224a11d31bfe039352fd29d2b89368583ac (patch) | |
tree | ee34d23fc3f10a47591ef5d0c027a7efa881be1e /src/output.c | |
parent | 044adfa27731c0314bc4c9340fd1eebfaf3cf270 (diff) |
Started on Gameboy support.
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 8476f9d..7d42565 100644 --- a/src/output.c +++ b/src/output.c @@ -51,7 +51,8 @@ typedef enum RAW, TAP, T64, - ZX81 + ZX81, + GAMEBOY } Format; static char output[4096] = "output"; @@ -65,6 +66,7 @@ static ValueTable format_table[] = {"spectrum", TAP}, {"t64", T64}, {"zx81", ZX81}, + {"gameboy", GAMEBOY}, {NULL} }; @@ -142,6 +144,10 @@ int OutputCode(void) return ZX81Output(output, output_bank, bank, count, error, sizeof error); + case GAMEBOY: + return GBOutput(output, output_bank, bank, count, + error, sizeof error); + default: break; } |