diff options
author | Vladimir Chtchetkine <vchtchetkine@google.com> | 2010-09-01 09:17:11 -0700 |
---|---|---|
committer | Vladimir Chtchetkine <vchtchetkine@google.com> | 2010-09-01 09:44:01 -0700 |
commit | cefa7443eb3d3e4bb134595f756145426d5613e3 (patch) | |
tree | 7ced288de1420463b18ce3f2d0ae36efaa46775e /android/qemu-setup.c | |
parent | 2cb19c7efef5f194198aa84d6a9ffbdb4c740455 (diff) | |
download | external_qemu-cefa7443eb3d3e4bb134595f756145426d5613e3.zip external_qemu-cefa7443eb3d3e4bb134595f756145426d5613e3.tar.gz external_qemu-cefa7443eb3d3e4bb134595f756145426d5613e3.tar.bz2 |
Add android_port initialization in the core.
Also some minor cleanups to the ui <-> core stuff.
Change-Id: I7d64ec1aa694c027851b7e262b6e1b80bb6cef08
Diffstat (limited to 'android/qemu-setup.c')
-rw-r--r-- | android/qemu-setup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/android/qemu-setup.c b/android/qemu-setup.c index a790c37..6c3785c 100644 --- a/android/qemu-setup.c +++ b/android/qemu-setup.c @@ -23,6 +23,7 @@ #include "android/utils/path.h" #include "android/utils/system.h" #include "android/utils/bufprint.h" +#include "android/core-ui-protocol.h" #define D(...) do { if (VERBOSE_CHECK(init)) dprint(__VA_ARGS__); } while (0) @@ -330,6 +331,8 @@ void android_emulation_setup( void ) android_modem_init( base_port ); + /* Save base port and call back to UI so it can properly set up its window title. */ + android_base_port = base_port; android_ui_set_base_port(base_port); /* send a simple message to the ADB host server to tell it we just started. |