diff options
author | neonloop | 2022-02-10 15:46:51 +0000 |
---|---|---|
committer | neonloop | 2022-02-10 15:46:51 +0000 |
commit | e506386fc683b18c2e25a27e8c3f7a220a92e5e1 (patch) | |
tree | f7da313b7a7cd43de4baf329c76490546cf8641c /overrides/mame2000.h | |
parent | af5f38f00f49ab0c60425270502a09a9fee5fd23 (diff) | |
download | picoarch-e506386fc683b18c2e25a27e8c3f7a220a92e5e1.tar.gz picoarch-e506386fc683b18c2e25a27e8c3f7a220a92e5e1.tar.bz2 picoarch-e506386fc683b18c2e25a27e8c3f7a220a92e5e1.zip |
Updates cores and moves to snes9x2005 fork
Diffstat (limited to 'overrides/mame2000.h')
-rw-r--r-- | overrides/mame2000.h | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/overrides/mame2000.h b/overrides/mame2000.h index f3912f7..9d306c0 100644 --- a/overrides/mame2000.h +++ b/overrides/mame2000.h @@ -1,3 +1,4 @@ +#include "main.h" #include "overrides.h" static const struct core_override_option mame2000_core_option_overrides[] = { @@ -57,17 +58,27 @@ me_bind_action mame2000_ctrl_actions[] = { NULL, 0 } }; +me_bind_action mame2000_emu_actions[] = +{ + { "Toggle FPS/CPU% ", 1 << EACTION_TOGGLE_HUD }, + { "Toggle FF ", 1 << EACTION_TOGGLE_FF }, + { "Take Screenshot ", 1 << EACTION_SCREENSHOT }, + { NULL, 0 } +}; + const struct core_override_fast_forward mame2000_fast_forward = { .type_key = "mame2000-frameskip", .type_value = "auto", .interval_key = "mame2000-frameskip_interval" }; -#define mame2000_overrides { \ - .core_name = "mame2000", \ - .fast_forward = &mame2000_fast_forward, \ - .actions = mame2000_ctrl_actions, \ - .action_size = array_size(mame2000_ctrl_actions), \ - .options = mame2000_core_option_overrides, \ - .block_load_content = 1 \ +#define mame2000_overrides { \ + .core_name = "mame2000", \ + .fast_forward = &mame2000_fast_forward, \ + .actions = mame2000_ctrl_actions, \ + .action_size = array_size(mame2000_ctrl_actions), \ + .emu_actions = mame2000_emu_actions, \ + .emu_action_size = array_size(mame2000_emu_actions), \ + .options = mame2000_core_option_overrides, \ + .block_load_content = 1 \ } |