This commit is contained in:
Higor Eurípedes 2015-11-23 18:50:26 -03:00
parent b5480d85a1
commit 58e9b28154
3 changed files with 0 additions and 32 deletions

View File

@ -1410,7 +1410,6 @@ bool event_command(enum event_command cmd)
global->core_info.list = NULL;
break;
case EVENT_CMD_DATA_RUNLOOP_FREE:
rarch_main_data_free();
break;
case EVENT_CMD_CORE_INFO_INIT:
event_command(EVENT_CMD_CORE_INFO_DEINIT);
@ -1620,7 +1619,6 @@ bool event_command(enum event_command cmd)
case EVENT_CMD_MSG_QUEUE_INIT:
event_command(EVENT_CMD_MSG_QUEUE_DEINIT);
rarch_main_msg_queue_init();
rarch_main_data_init_queues();
break;
case EVENT_CMD_BSV_MOVIE_DEINIT:
if (!global)

View File

@ -28,28 +28,13 @@
#include "menu/menu.h"
#endif
#undef HAVE_THREADS
typedef struct data_runloop
{
bool inited;
} data_runloop_t;
static char data_runloop_msg[PATH_MAX_LENGTH];
static data_runloop_t g_data_runloop;
void rarch_main_data_deinit(void)
{
g_data_runloop.inited = false;
rarch_task_deinit();
}
void rarch_main_data_free(void)
{
memset(&g_data_runloop, 0, sizeof(g_data_runloop));
}
bool rarch_main_data_active(void)
{
return false;
@ -79,24 +64,15 @@ void rarch_main_data_iterate(void)
static void rarch_main_data_init(void)
{
g_data_runloop.inited = true;
rarch_task_init();
}
void rarch_main_data_clear_state(void)
{
rarch_main_data_deinit();
rarch_main_data_free();
rarch_main_data_init();
}
void rarch_main_data_init_queues(void)
{
}
void rarch_main_data_msg_queue_push(unsigned type,
const char *msg, const char *msg2,
unsigned prio, unsigned duration, bool flush)

View File

@ -44,12 +44,6 @@ void rarch_main_data_iterate(void);
void rarch_main_data_deinit(void);
void rarch_main_data_free(void);
void rarch_main_data_init_queues(void);
bool rarch_main_data_active(void);
#ifdef __cplusplus
}
#endif