diff options
Diffstat (limited to 'vl-android.c')
-rw-r--r-- | vl-android.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vl-android.c b/vl-android.c index af17c33..60c3a01 100644 --- a/vl-android.c +++ b/vl-android.c @@ -199,6 +199,11 @@ unsigned long android_verbose; #endif // CONFIG_STANDALONE_CORE +#if !defined(CONFIG_STANDALONE_CORE) +/* in android/qemulator.c */ +extern void android_emulator_set_base_port(int port); +#endif + #if defined(CONFIG_SKINS) && !defined(CONFIG_STANDALONE_CORE) #undef main #define main qemu_main @@ -5302,6 +5307,12 @@ int main(int argc, char **argv, char **envp) /* call android-specific setup function */ android_emulation_setup(); +#if !defined(CONFIG_STANDALONE_CORE) + // For the standalone emulator (UI+core in one executable) we need to + // set the window title here. + android_emulator_set_base_port(android_base_port); +#endif + if (loadvm) do_loadvm(cur_mon, loadvm); |