(runloop.c) Cleanup

This commit is contained in:
twinaphex 2015-04-27 05:36:41 +02:00
parent 5aa422885f
commit d97b744b32
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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
}