From d6f12cdb4b333af94c9195e51218a9301aa58a7e Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Mon, 5 Jan 2015 23:05:37 -0600 Subject: allow specifying supported peripherals --- src/symbols.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/symbols.c') 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++) { -- cgit v1.2.3