aboutsummaryrefslogtreecommitdiffstats
path: root/android/qemulator.c
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2010-07-30 16:53:39 -0700
committerDavid 'Digit' Turner <digit@android.com>2010-07-30 16:54:39 -0700
commit3cf34f28ff198c69a02ed74a8e851b53cf3ff00c (patch)
treefc8abc91899b5dc6c6d5d8162c31182e4c31db3f /android/qemulator.c
parent9b98dbde344781e93e2bdcfa599428cda2fda41d (diff)
downloadexternal_qemu-3cf34f28ff198c69a02ed74a8e851b53cf3ff00c.zip
external_qemu-3cf34f28ff198c69a02ed74a8e851b53cf3ff00c.tar.gz
external_qemu-3cf34f28ff198c69a02ed74a8e851b53cf3ff00c.tar.bz2
Fix window title to display the correct port number for the emulator.
Change-Id: I289451995683d5d4de2afe2e87481418a393c82f
Diffstat (limited to 'android/qemulator.c')
-rw-r--r--android/qemulator.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/android/qemulator.c b/android/qemulator.c
index f6dc550..4d6c771 100644
--- a/android/qemulator.c
+++ b/android/qemulator.c
@@ -593,3 +593,10 @@ android_emulator_set_window_scale( double scale, int is_dpi )
skin_window_set_scale( emulator->window, scale );
}
+
+void
+android_emulator_set_base_port( int port )
+{
+ android_base_port = port;
+ qemulator_set_title(qemulator);
+}