From 8d7bbdce956ac82e8be3627a806c9d18d3c66489 Mon Sep 17 00:00:00 2001 From: Toad King Date: Fri, 30 May 2014 20:21:23 -0400 Subject: [PATCH] frontend.c cleanup --- frontend/frontend.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/frontend/frontend.c b/frontend/frontend.c index 164dc5070e..3c3dddf56d 100644 --- a/frontend/frontend.c +++ b/frontend/frontend.c @@ -38,7 +38,7 @@ default_paths_t default_paths; static void rarch_get_environment_console(void) { -#ifdef RARCH_CONSOLE +#if defined(RARCH_CONSOLE) || defined(__QNX__) path_mkdir(default_paths.port_dir); path_mkdir(default_paths.system_dir); path_mkdir(default_paths.savestate_dir); @@ -85,11 +85,6 @@ static void rarch_get_environment_console(void) #define attempt_load_game_push_history false #endif -#if !defined(RARCH_CONSOLE) || !defined(__QNX__) -#define rarch_get_environment_console() (void)0 -#endif - - static retro_keyboard_event_t key_event; #ifdef HAVE_MENU @@ -318,7 +313,6 @@ returntype main_entry(signature()) driver.frontend_ctx->init(args); rarch_main_clear_state(); - rarch_init_msg_queue(); if (driver.frontend_ctx && driver.frontend_ctx->environment_get) {