Remove runloop.h header include from many files

This commit is contained in:
twinaphex 2016-12-02 06:19:27 +01:00
parent 021559a877
commit 642310e08a
5 changed files with 4 additions and 18 deletions

View File

@ -25,7 +25,6 @@
#include "../menu_setting.h"
#include "../../configuration.h"
#include "../../runloop.h"
#include "../../tasks/tasks_internal.h"
#ifndef BIND_ACTION_SCAN

View File

@ -24,8 +24,6 @@
#include "../menu_cbs.h"
#include "../menu_setting.h"
#include "../../runloop.h"
#ifndef BIND_ACTION_SELECT
#define BIND_ACTION_SELECT(cbs, name) \
cbs->action_select = name; \

View File

@ -28,7 +28,6 @@
#include "../widgets/menu_input_bind_dialog.h"
#include "../../verbosity.h"
#include "../../runloop.h"
#include "../../content.h"
#include "../../retroarch.h"

View File

@ -2531,19 +2531,10 @@ static void xmb_frame(void *data)
xmb->margins.title.top, 1, 1, TEXT_ALIGN_LEFT,
width, height, xmb->font);
/* uncomment to print the messages on the XMB status line
if (string_is_empty(runloop_msg_queue_pull()))
{*/
if (menu_entries_get_core_title(title_msg, sizeof(title_msg)) == 0)
xmb_draw_text(xmb, title_msg, xmb->margins.title.left,
height - xmb->margins.title.bottom, 1, 1, TEXT_ALIGN_LEFT,
width, height, xmb->font);
/* }
else
xmb_draw_text(xmb, runloop_msg_queue_pull(), xmb->margins.title.left,
height - xmb->margins.title.bottom, 1, 1, TEXT_ALIGN_LEFT,
width, height);
*/
if (menu_entries_get_core_title(title_msg, sizeof(title_msg)) == 0)
xmb_draw_text(xmb, title_msg, xmb->margins.title.left,
height - xmb->margins.title.bottom, 1, 1, TEXT_ALIGN_LEFT,
width, height, xmb->font);
rotate_draw.matrix = &mymat;
rotate_draw.rotation = 0;

View File

@ -26,7 +26,6 @@
#include "tasks_internal.h"
#include "../verbosity.h"
#include "../runloop.h"
#include "../wifi/wifi_driver.h"
#include "../menu/menu_entries.h"
#include "../menu/menu_driver.h"