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 66abfae..9a30a76 100644
--- a/src/output.c
+++ b/src/output.c
@@ -56,7 +56,8 @@ typedef enum
SNES,
LIBRARY,
NES,
- CPC
+ CPC,
+ PRG
} Format;
static char output[4096] = "output";
@@ -75,6 +76,7 @@ static ValueTable format_table[] =
{"lib", LIBRARY},
{"nes", NES},
{"cpc", CPC},
+ {"prg", PRG},
{NULL}
};
@@ -172,6 +174,10 @@ int OutputCode(void)
return CPCOutput(output, output_bank, bank, count,
error, sizeof error);
+ case PRG:
+ return PRGOutput(output, output_bank, bank, count,
+ error, sizeof error);
+
default:
break;
}