aboutsummaryrefslogtreecommitdiffstats
path: root/vl-android.c
diff options
context:
space:
mode:
Diffstat (limited to 'vl-android.c')
-rw-r--r--vl-android.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/vl-android.c b/vl-android.c
index 4a373b3..1673426 100644
--- a/vl-android.c
+++ b/vl-android.c
@@ -53,6 +53,7 @@
#include "android/gps.h"
#include "android/hw-qemud.h"
#include "android/hw-kmsg.h"
+#include "android/charmap.h"
#include "targphys.h"
#include <unistd.h>
@@ -180,6 +181,11 @@
#include "kvm.h"
#include "balloon.h"
+#ifdef CONFIG_STANDALONE_CORE
+/* Verbose value used by the standalone emulator core (without UI) */
+unsigned long android_verbose;
+#endif // CONFIG_STANDALONE_CORE
+
#ifdef CONFIG_SKINS
#undef main
#define main qemu_main
@@ -6168,7 +6174,7 @@ int main(int argc, char **argv, char **envp)
curses_display_init(ds, full_screen);
break;
#endif
-#if defined(CONFIG_SDL)
+#if defined(CONFIG_SDL) && !defined(CONFIG_STANDALONE_CORE)
case DT_SDL:
sdl_display_init(ds, full_screen, no_frame);
break;
@@ -6326,3 +6332,9 @@ int main(int argc, char **argv, char **envp)
android_emulation_teardown();
return 0;
}
+
+void
+android_emulation_teardown(void)
+{
+ android_charmap_done();
+}