aboutsummaryrefslogtreecommitdiff
path: root/overrides
diff options
context:
space:
mode:
authorneonloop2021-08-23 14:53:51 +0000
committerneonloop2021-08-23 14:53:51 +0000
commit38a49a2794e82568031c4315a0c797d23a920d69 (patch)
treed6edf21b82cd1bb2d561f9cdb72b501e95daf3c9 /overrides
parenta2993b334dc5a03ad0a1e9368cebce354b72fae1 (diff)
downloadpicoarch-38a49a2794e82568031c4315a0c797d23a920d69.tar.gz
picoarch-38a49a2794e82568031c4315a0c797d23a920d69.tar.bz2
picoarch-38a49a2794e82568031c4315a0c797d23a920d69.zip
Adds fceumm core
Needs PGO to hit fullspeed. Nestopia won't run (needs XRGB8888) and would probably be slow. Maybe try QuickNES if speed is an issue with fceumm.
Diffstat (limited to 'overrides')
-rw-r--r--overrides/fceumm.h90
1 files changed, 90 insertions, 0 deletions
diff --git a/overrides/fceumm.h b/overrides/fceumm.h
new file mode 100644
index 0000000..2009d08
--- /dev/null
+++ b/overrides/fceumm.h
@@ -0,0 +1,90 @@
+#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 Horz. Overscan",
+ },
+ {
+ .key = "fceumm_overscan_v",
+ .desc = "Crop Vert. 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_zapper_mode",
+ .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 },
+ { "SELECT ", 1 << RETRO_DEVICE_ID_JOYPAD_START },
+ { "START ", 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 \
+}