From 07db34976ba1dd045a51c4ab2c7f52479cddcc57 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Wed, 2 Feb 2011 17:36:34 +0100 Subject: Simplify UI-only sources. Get rid of console-ui.c, qemu-timer-ui.c and modify vl-android-ui.c to use a generic Looper object instead of a crummy event loop. We still need to implement qemu_set_fd_handler for two sources under android/protocol/ but this will be cleaned up later. Change-Id: Icd0762675ca2f54e720a9cec40f96caea500b52f --- android/main-common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'android/main-common.c') diff --git a/android/main-common.c b/android/main-common.c index 23ba5b9..bcae501 100644 --- a/android/main-common.c +++ b/android/main-common.c @@ -315,7 +315,9 @@ void sdl_display_init(DisplayState *ds, int full_screen, int no_frame) } snprintf(buf, sizeof buf, "width=%d,height=%d", width, height); +#if !defined(CONFIG_STANDALONE_UI) && !defined(CONFIG_STANDALONE_CORE) android_display_init(ds, qframebuffer_fifo_get()); +#endif } /* list of skin aliases */ -- cgit v1.1