mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-26 21:36:26 +00:00
Further changes to bring it in line with menu_input branch
This commit is contained in:
parent
6310f53587
commit
902c096eb4
@ -88,14 +88,8 @@
|
||||
#define DEFAULT_EXT ""
|
||||
#endif
|
||||
|
||||
#define runloop_cmd_triggered(trigger_input, id) (BIT64_GET(trigger_input, id))
|
||||
|
||||
#define runloop_cmd_press(current_input, id) BIT64_GET(current_input, id)
|
||||
#define runloop_cmd_pressed(old_input, id) BIT64_GET(old_input, id)
|
||||
#ifdef HAVE_MENU
|
||||
#define runloop_cmd_menu_press(current_input, old_input, trigger_input) (BIT64_GET(trigger_input, RARCH_MENU_TOGGLE) || \
|
||||
runloop_cmd_get_state_menu_toggle_button_combo( \
|
||||
settings, current_input, old_input, trigger_input))
|
||||
#define runloop_cmd_menu_press(current_input, old_input, trigger_input) (BIT64_GET(trigger_input, RARCH_MENU_TOGGLE) || runloop_cmd_get_state_menu_toggle_button_combo(settings, current_input, old_input, trigger_input))
|
||||
#endif
|
||||
|
||||
static rarch_system_info_t runloop_system;
|
||||
|
@ -26,6 +26,11 @@
|
||||
|
||||
#include "input/input_defines.h"
|
||||
|
||||
#define runloop_cmd_triggered(trigger_input, id) (BIT64_GET(trigger_input, id))
|
||||
|
||||
#define runloop_cmd_press(current_input, id) (BIT64_GET(current_input, id))
|
||||
#define runloop_cmd_pressed(old_input, id) (BIT64_GET(old_input, id))
|
||||
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
enum runloop_ctl_state
|
||||
|
Loading…
x
Reference in New Issue
Block a user