From af5f38f00f49ab0c60425270502a09a9fee5fd23 Mon Sep 17 00:00:00 2001 From: neonloop Date: Sun, 28 Nov 2021 21:08:17 +0000 Subject: Adds fMSX core and builds trimui picoarch.zip --- overrides/fmsx.h | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 overrides/fmsx.h (limited to 'overrides') diff --git a/overrides/fmsx.h b/overrides/fmsx.h new file mode 100644 index 0000000..5365c83 --- /dev/null +++ b/overrides/fmsx.h @@ -0,0 +1,53 @@ +#include "overrides.h" + +static const struct core_override_option fmsx_core_option_overrides[] = { + { + .key = "fmsx_mapper_type_mode", + .retro_var_value = "Mapper Type; " + "Guess Mapper Type A|" + "Guess Mapper 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_autospace", + .retro_var_value = "Autofire SPACE; No|Yes" + }, + { 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 \ +} -- cgit v1.2.3