get messages working again on android

This commit is contained in:
ToadKing 2013-03-06 12:19:56 -05:00
parent ab95085cde
commit 809ae0ab06
2 changed files with 3 additions and 5 deletions

View File

@ -569,8 +569,8 @@ static void render_text(rgui_handle_t *rgui)
blit_line(rgui, x, y, message, i == rgui->directory_ptr);
}
const char *message_queue;
#ifdef GEKKO
const char *message_queue;
gx_video_t *gx = (gx_video_t*)driver.video_data;
if (rgui->msg_force)
{
@ -581,10 +581,8 @@ static void render_text(rgui_handle_t *rgui)
{
message_queue = gx->msg;
}
#else
message_queue = msg_queue_pull(g_extern.msg_queue);
#endif
render_messagebox(rgui, message_queue);
#endif
}
#ifdef GEKKO

View File

@ -1824,7 +1824,7 @@ static void *gl_init(const video_info_t *video, const input_driver_t **input, vo
if (input && input_data)
context_input_driver_func(input, input_data);
#ifndef HAVE_RMENU
#if !defined(HAVE_RMENU) || !defined(RARCH_CONSOLE)
// Comes too early for console - moved to gl_start
if (g_settings.video.font_enable)
gl->font_ctx = gl_font_init_first(gl, g_settings.video.font_path, g_settings.video.font_size);