mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-18 17:04:34 +00:00
(runloop.c) Cleanup
This commit is contained in:
parent
5aa422885f
commit
d97b744b32
@ -1036,7 +1036,7 @@ static void rarch_main_cmd_get_state(event_cmd_state_t *cmd,
|
||||
cmd->quit_key_pressed = BIT64_GET(input, RARCH_QUIT_KEY);
|
||||
cmd->screenshot_pressed = BIT64_GET(trigger_input, RARCH_SCREENSHOT);
|
||||
cmd->mute_pressed = BIT64_GET(trigger_input, RARCH_MUTE);
|
||||
cmd->osk_pressed = BIT64_GET(trigger_input, RARCH_OSK);
|
||||
cmd->osk_pressed = BIT64_GET(trigger_input, RARCH_OSK);
|
||||
cmd->volume_up_pressed = BIT64_GET(input, RARCH_VOLUME_UP);
|
||||
cmd->volume_down_pressed = BIT64_GET(input, RARCH_VOLUME_DOWN);
|
||||
cmd->reset_pressed = BIT64_GET(trigger_input, RARCH_RESET);
|
||||
|
@ -1084,15 +1084,15 @@ void rarch_main_data_init_queues(void)
|
||||
data_runloop_t *runloop = (data_runloop_t*)rarch_main_data_get_ptr();
|
||||
#ifdef HAVE_NETWORKING
|
||||
if (!runloop->http.msg_queue)
|
||||
rarch_assert(runloop->http.msg_queue = msg_queue_new(8));
|
||||
rarch_assert(runloop->http.msg_queue = msg_queue_new(8));
|
||||
#endif
|
||||
if (!runloop->nbio.msg_queue)
|
||||
rarch_assert(runloop->nbio.msg_queue = msg_queue_new(8));
|
||||
rarch_assert(runloop->nbio.msg_queue = msg_queue_new(8));
|
||||
if (!runloop->nbio.image.msg_queue)
|
||||
rarch_assert(runloop->nbio.image.msg_queue = msg_queue_new(8));
|
||||
#ifdef HAVE_LIBRETRODB
|
||||
if (!runloop->db.msg_queue)
|
||||
rarch_assert(runloop->db.msg_queue = msg_queue_new(8));
|
||||
rarch_assert(runloop->db.msg_queue = msg_queue_new(8));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user