aboutsummaryrefslogtreecommitdiff
path: root/overrides
diff options
context:
space:
mode:
authorneonloop2023-02-05 22:50:33 +0000
committerneonloop2023-02-05 22:50:33 +0000
commit409b69e43168561358bfb8b5759ec201a68ecc86 (patch)
treea13ec80d681e0f1d45630b0214957bd6747dba34 /overrides
parentc77f1e7e0298bd74f030a423e16aba25632862e5 (diff)
downloadpicoarch-409b69e43168561358bfb8b5759ec201a68ecc86.tar.gz
picoarch-409b69e43168561358bfb8b5759ec201a68ecc86.tar.bz2
picoarch-409b69e43168561358bfb8b5759ec201a68ecc86.zip
Adds pokemini core
Diffstat (limited to 'overrides')
-rw-r--r--overrides/pokemini.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/overrides/pokemini.h b/overrides/pokemini.h
new file mode 100644
index 0000000..e8b0824
--- /dev/null
+++ b/overrides/pokemini.h
@@ -0,0 +1,54 @@
+#include "overrides.h"
+
+static const struct core_override_option pokemini_core_option_overrides[] = {
+ {
+ .key = "pokemini_video_scale",
+ .desc = "Video Scale",
+ .info = "Set internal video scale factor. Increasing the scale factor improves the appearance of the internal 'Dot Matrix' LCD filter. Requires restart."
+ },
+ {
+ .key = "pokemini_60hz_mode",
+ .info = "Update the display at 60Hz instead of the native 72Hz Pokemon Mini's refresh rate. Reduces video smoothness, but avoids screen tearing.",
+ },
+ {
+ .key = "pokemini_lcdfilter",
+ .info = "Select internal screen filter. 'Dot Matrix' gives an LCD effect that mimics real hardware. Filters are disabled when 'Video Scale' is set to '1x'."
+ },
+ {
+ .key = "pokemini_lcdmode",
+ .info = "Specify the greyscale 'color' character of the LCD. 'Analog' mimics real hardware. '2 Shades' removes ghosting, but causes flickering.",
+ },
+ {
+ .key = "pokemini_lowpass_range",
+ .desc = "Filter level (%%)",
+ .info = "Specifies the cut-off frequency of the low pass audio filter. A higher value increases the perceived 'strength' of the filter.",
+ },
+ {
+ .key = "pokemini_rumble_lv",
+ .blocked = true,
+ },
+ { NULL }
+};
+
+me_bind_action pokemini_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 },
+ { "C ", 1 << RETRO_DEVICE_ID_JOYPAD_R },
+ { "TURBO A ", 1 << RETRO_DEVICE_ID_JOYPAD_X },
+ { "SHAKE ", 1 << RETRO_DEVICE_ID_JOYPAD_L },
+ { "POWER ", 1 << RETRO_DEVICE_ID_JOYPAD_SELECT },
+ { NULL, 0 }
+};
+
+#define pokemini_overrides { \
+ .core_name = "pokemini", \
+ .actions = pokemini_ctrl_actions, \
+ .action_size = array_size(pokemini_ctrl_actions), \
+ .options = pokemini_core_option_overrides, \
+ .defer_frames = 7, \
+}