summaryrefslogtreecommitdiff
path: root/src/symbols.c
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2015-01-05 23:05:37 -0600
committerBobby Bingham <koorogi@koorogi.info>2015-09-15 22:43:32 -0500
commitd6f12cdb4b333af94c9195e51218a9301aa58a7e (patch)
tree449c1c9c773522669b0ce2cdddf868ccdf625538 /src/symbols.c
parente9ee32b27041de24d66b984c1eff568169a1e23d (diff)
allow specifying supported peripherals
Diffstat (limited to 'src/symbols.c')
-rw-r--r--src/symbols.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/symbols.c b/src/symbols.c
index 4bb73bb..4f9a25f 100644
--- a/src/symbols.c
+++ b/src/symbols.c
@@ -14,6 +14,26 @@ const struct symbolname regiondefs[] = {
{ 0 }
};
+const struct symbolname peripheraldefs[] = {
+ { .symbol = 'A', .name = "Analog Controller" },
+ { .symbol = 'C', .name = "Link Cable" },
+ { .symbol = 'D', .name = "Modem" },
+ { .symbol = 'E', .name = "3D Control Pad" },
+ { .symbol = 'F', .name = "Floppy Drive" },
+ { .symbol = 'G', .name = "Virtua Gun" },
+ { .symbol = 'J', .name = "Control Pad" },
+ { .symbol = 'K', .name = "Keyboard" },
+ { .symbol = 'M', .name = "Mouse" },
+ { .symbol = 'P', .name = "Video CD Card" },
+ { .symbol = 'Q', .name = "Pachinko Controller" },
+ { .symbol = 'R', .name = "ROM Catridge" },
+ { .symbol = 'S', .name = "Steering Wheel" },
+ { .symbol = 'T', .name = "Multi-Tap" },
+ { .symbol = 'W', .name = "RAM Cartridge" },
+ { .symbol = 'X', .name = "XBAND Modem" },
+ { 0 }
+};
+
const struct symbolname *find_symbol(const struct symbolname *symbols, char symbol)
{
for (; symbols->symbol; symbols++) {