Move struct definition of event_cmd_state to runloop.c

This commit is contained in:
twinaphex 2015-12-04 13:09:16 +01:00
parent 67e91033e2
commit 22c08654df
2 changed files with 36 additions and 38 deletions

View File

@ -205,42 +205,6 @@ enum event_command
EVENT_CMD_VOLUME_DOWN
};
typedef struct event_cmd_state
{
bool fullscreen_toggle;
bool overlay_next_pressed;
bool grab_mouse_pressed;
bool menu_pressed;
bool quit_key_pressed;
bool screenshot_pressed;
bool mute_pressed;
bool osk_pressed;
bool volume_up_pressed;
bool volume_down_pressed;
bool reset_pressed;
bool disk_prev_pressed;
bool disk_next_pressed;
bool disk_eject_pressed;
bool movie_record;
bool save_state_pressed;
bool load_state_pressed;
bool slowmotion_pressed;
bool shader_next_pressed;
bool shader_prev_pressed;
bool fastforward_pressed;
bool hold_pressed;
bool old_hold_pressed;
bool state_slot_increase;
bool state_slot_decrease;
bool pause_pressed;
bool frameadvance_pressed;
bool rewind_pressed;
bool netplay_flip_pressed;
bool cheat_index_plus_pressed;
bool cheat_index_minus_pressed;
bool cheat_toggle_pressed;
} event_cmd_state_t;
/**
* event_disk_control_append_image:
* @path : Path to disk image.

View File

@ -60,12 +60,46 @@
#include "verbosity.h"
typedef struct event_cmd_state
{
bool fullscreen_toggle;
bool overlay_next_pressed;
bool grab_mouse_pressed;
bool menu_pressed;
bool quit_key_pressed;
bool screenshot_pressed;
bool mute_pressed;
bool osk_pressed;
bool volume_up_pressed;
bool volume_down_pressed;
bool reset_pressed;
bool disk_prev_pressed;
bool disk_next_pressed;
bool disk_eject_pressed;
bool movie_record;
bool save_state_pressed;
bool load_state_pressed;
bool slowmotion_pressed;
bool shader_next_pressed;
bool shader_prev_pressed;
bool fastforward_pressed;
bool hold_pressed;
bool old_hold_pressed;
bool state_slot_increase;
bool state_slot_decrease;
bool pause_pressed;
bool frameadvance_pressed;
bool rewind_pressed;
bool netplay_flip_pressed;
bool cheat_index_plus_pressed;
bool cheat_index_minus_pressed;
bool cheat_toggle_pressed;
} event_cmd_state_t;
static rarch_dir_list_t runloop_shader_dir;
static unsigned runloop_pending_windowed_scale;
static msg_queue_t *g_msg_queue;
global_t *global_get_ptr(void)