aboutsummaryrefslogtreecommitdiff
path: root/overrides/fmsx.h
blob: 13b7dde343963d3dacdcb6e482725396ba83eea4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
#include "overrides.h"

static const struct core_override_option fmsx_core_option_overrides[] = {
	{
		.key = "fmsx_hires",
		.retro_var_value = "High res; Off|Interlaced|Progressive"
	},
	{
		.key = "fmsx_mapper_type_mode",
		.retro_var_value = "Mapper Type; "
			"Guess Type A|"
			"Guess Type B|"
			"Generic 8kB|"
			"Generic 16kB|"
			"Konami5 8kB|"
			"Konami4 8kB|"
			"ASCII 8kB|"
			"ASCII 16kB|"
			"GameMaster2|"
			"FMPAC"
	},
	{
		.key = "fmsx_simbdos",
		.retro_var_value = "DiskROM calls; Disabled|Enabled"
	},
	{
		.key = "fmsx_scci_megaram",
		.retro_var_value = "Enable MegaRAM; Yes|No"
	},
	{
		.key = "fmsx_autospace",
		.retro_var_value = "Autofire SPACE; No|Yes"
	},
	{
		.key = "fmsx_phantom_disk",
		.retro_var_value = "Make empty disk; No|Yes"
	},
	{
		.key = "fmsx_dos2",
		.retro_var_value = "Load MSXDOS2.ROM; No|Yes"
	},
	{
		.key = "fmsx_custom_keyboard_up",
		.blocked = true
	},
	{
		.key = "fmsx_custom_keyboard_down",
		.blocked = true
	},
	{
		.key = "fmsx_custom_keyboard_left",
		.blocked = true
	},
	{
		.key = "fmsx_custom_keyboard_right",
		.blocked = true
	},
	{
		.key = "fmsx_custom_keyboard_a",
		.blocked = true
	},
	{
		.key = "fmsx_custom_keyboard_b",
		.blocked = true
	},
	{
		.key = "fmsx_custom_keyboard_y",
		.blocked = true
	},
	{
		.key = "fmsx_custom_keyboard_x",
		.blocked = true
	},
	{
		.key = "fmsx_custom_keyboard_start",
		.blocked = true
	},
	{
		.key = "fmsx_custom_keyboard_select",
		.blocked = true
	},
	{
		.key = "fmsx_custom_keyboard_l",
		.blocked = true
	},
	{
		.key = "fmsx_custom_keyboard_r",
		.blocked = true
	},
	{
		.key = "fmsx_custom_keyboard_l2",
		.blocked = true
	},
	{
		.key = "fmsx_custom_keyboard_r2",
		.blocked = true
	},
	{
		.key = "fmsx_custom_keyboard_l3",
		.blocked = true
	},
	{
		.key = "fmsx_custom_keyboard_r3",
		.blocked = true
	},
	{ NULL }
};

me_bind_action fmsx_ctrl_actions[] =
{
	{ "UP       ",  1 << RETRO_DEVICE_ID_JOYPAD_UP},
	{ "DOWN     ",  1 << RETRO_DEVICE_ID_JOYPAD_DOWN },
	{ "LEFT     ",  1 << RETRO_DEVICE_ID_JOYPAD_LEFT },
	{ "RIGHT    ",  1 << RETRO_DEVICE_ID_JOYPAD_RIGHT },
	{ "A        ",  1 << RETRO_DEVICE_ID_JOYPAD_A },
	{ "B        ",  1 << RETRO_DEVICE_ID_JOYPAD_B },
	{ "SPACE    ",  1 << RETRO_DEVICE_ID_JOYPAD_Y },
	{ "F1       ",  1 << RETRO_DEVICE_ID_JOYPAD_START },
	{ "F2       ",  1 << RETRO_DEVICE_ID_JOYPAD_SELECT },
	{ "F3       ",  1 << RETRO_DEVICE_ID_JOYPAD_X },
	{ "F4       ",  1 << RETRO_DEVICE_ID_JOYPAD_L },
	{ "F5       ",  1 << RETRO_DEVICE_ID_JOYPAD_R },
	{ "GRAPH    ",  1 << RETRO_DEVICE_ID_JOYPAD_L2 },
	{ "CTRL     ",  1 << RETRO_DEVICE_ID_JOYPAD_R2 },
	{ NULL,       0 }
};

#define fmsx_overrides {                              \
	.core_name = "fmsx",                                \
	.actions = fmsx_ctrl_actions,                       \
	.action_size = array_size(fmsx_ctrl_actions),       \
	.options = fmsx_core_option_overrides               \
}