diff options
author | neonloop | 2021-11-28 17:58:58 +0000 |
---|---|---|
committer | neonloop | 2021-11-28 17:58:58 +0000 |
commit | 08cd83e4b09e18b1107d5f216c97eb9beb09e40e (patch) | |
tree | 2058a611b3801554a7a7626d303a4a5a18fdd31e /overrides | |
parent | c0c7ccbc14a81fc2bc0c3a14c403e0ab54087290 (diff) | |
download | picoarch-08cd83e4b09e18b1107d5f216c97eb9beb09e40e.tar.gz picoarch-08cd83e4b09e18b1107d5f216c97eb9beb09e40e.tar.bz2 picoarch-08cd83e4b09e18b1107d5f216c97eb9beb09e40e.zip |
Adds blueMSX core
Diffstat (limited to 'overrides')
-rw-r--r-- | overrides/bluemsx.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/overrides/bluemsx.h b/overrides/bluemsx.h new file mode 100644 index 0000000..daa633b --- /dev/null +++ b/overrides/bluemsx.h @@ -0,0 +1,59 @@ +#include "overrides.h" + +static const struct core_override_option bluemsx_core_option_overrides[] = { + { + .key = "bluemsx_msxtype", + .desc = "Machine (Restart)", + .options = { + [8] = { "SVI-318", NULL }, + [9] = { "SVI-328", NULL }, + [10] = { "SVI-328 MK2", NULL }, + [12] = { "SVI-603", NULL }, + }, + }, + { + .key = "bluemsx_vdp_synctype", + .desc = "VDP Sync (Restart)", + }, + { + .key = "bluemsx_ym2413_enable", + .desc = "YM2413 (Restart)", + .info = "Enable YM2413 sound", + }, + { + .key = "bluemsx_cartmapper", + .desc = "Mapper (Restart)", + .info = "Manually select the correct mapper when a cart is not yet in the database.", + }, + { + .key = "bluemsx_auto_rewind_cas", + .desc = "Auto Rewind", + }, + { NULL } +}; + +me_bind_action bluemsx_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 }, + { "BTN 1 ", 1 << RETRO_DEVICE_ID_JOYPAD_A }, + { "BTN 2 ", 1 << RETRO_DEVICE_ID_JOYPAD_B }, + { "BTN 3 ", 1 << RETRO_DEVICE_ID_JOYPAD_Y }, + { "BTN 4 ", 1 << RETRO_DEVICE_ID_JOYPAD_X }, + { "BTN 5 ", 1 << RETRO_DEVICE_ID_JOYPAD_L }, + { "BTN 6 ", 1 << RETRO_DEVICE_ID_JOYPAD_R }, + { "COL 5 ", 1 << RETRO_DEVICE_ID_JOYPAD_R2 }, + { "COL 6 ", 1 << RETRO_DEVICE_ID_JOYPAD_L2 }, + { "COL # ", 1 << RETRO_DEVICE_ID_JOYPAD_START }, + { "COL * ", 1 << RETRO_DEVICE_ID_JOYPAD_SELECT }, + { NULL, 0 } +}; + +#define bluemsx_overrides { \ + .core_name = "bluemsx", \ + .actions = bluemsx_ctrl_actions, \ + .action_size = array_size(bluemsx_ctrl_actions), \ + .options = bluemsx_core_option_overrides \ +} |