aboutsummaryrefslogtreecommitdiff
path: root/overrides/fceumm.h
blob: e55f8bcf637b70c560228a6a317815add2dabd83 (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
#include "overrides.h"

static const struct core_override_option fceumm_core_option_overrides[] = {
	{
		.key = "fceumm_ramstate",
		.desc = "RAM Fill (Restart)",
	},
	{
		.key = "fceumm_overscan_h",
		.desc = "Crop Hrz. Overscan",
	},
	{
		.key = "fceumm_overscan_v",
		.desc = "Crop Vrt. Overscan",
	},
	{
		.key = "fceumm_up_down_allowed",
		.desc = "Opp. Directions",
	},
	{
		.key = "fceumm_turbo_delay",
		.desc = "Turbo Delay Frames",
	},
	{
		.key = "fceumm_apu_1",
		.desc = "Square 1 Channel",
	},
	{
		.key = "fceumm_apu_2",
		.desc = "Square 2 Channel",
	},
	{
		.key = "fceumm_apu_3",
		.desc = "Triangle Channel",
	},
	{
		.key = "fceumm_apu_4",
		.desc = "Noise Channel",
	},
	{
		.key = "fceumm_apu_5",
		.desc = "PCM Channel",
	},
	{
		.key = "fceumm_show_adv_system_options",
		.desc = "Show Sys Options",
	},
	{
		.key = "fceumm_show_adv_sound_options",
		.desc = "Show Snd Options",
	},
	{
		.key = "fceumm_game_genie",
		.blocked = true
	},
	{
		.key = "fceumm_zapper_mode",
		.blocked = true
	},
	{
		.key = "fceumm_zapper_trigger",
		.blocked = true
	},
	{
		.key = "fceumm_zapper_sensor",
		.blocked = true
	},
	{
		.key = "fceumm_show_crosshair",
		.blocked = true
	},
	{
		.key = "fceumm_zapper_tolerance",
		.blocked = true
	},
	{ NULL }
};

me_bind_action fceumm_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 },
	{ "A TURBO  ",  1 << RETRO_DEVICE_ID_JOYPAD_X },
	{ "B TURBO  ",  1 << RETRO_DEVICE_ID_JOYPAD_Y },
	{ "START    ",  1 << RETRO_DEVICE_ID_JOYPAD_START },
	{ "SELECT   ",  1 << RETRO_DEVICE_ID_JOYPAD_SELECT },
	{ "DISK CHNG",  1 << RETRO_DEVICE_ID_JOYPAD_L },
	{ "INS DISK ",  1 << RETRO_DEVICE_ID_JOYPAD_R },
	{ "INS COIN ",  1 << RETRO_DEVICE_ID_JOYPAD_R2 },
	{ NULL,       0 }
};

#define fceumm_overrides {                                    \
	.core_name = "fceumm",                                \
	.actions = fceumm_ctrl_actions,                       \
	.action_size = array_size(fceumm_ctrl_actions),       \
	.options = fceumm_core_option_overrides               \
}