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