aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-02-09 17:32:56 +0100
committerDavid 'Digit' Turner <digit@android.com>2011-02-09 17:33:34 +0100
commita1dcb6c0e428ecd409a64df1055be61a59344664 (patch)
tree5a2ece7b36bd0ed3341b4315f23da20cfcc6febe
parentba313e080f0be3061b458075e8e66fc5ff700e3c (diff)
downloadexternal_qemu-a1dcb6c0e428ecd409a64df1055be61a59344664.zip
external_qemu-a1dcb6c0e428ecd409a64df1055be61a59344664.tar.gz
external_qemu-a1dcb6c0e428ecd409a64df1055be61a59344664.tar.bz2
emulator: Fix -no-window flag
Change-Id: Ibb06b7d412faeafa717de6d095a9eaae84d35ab4
-rw-r--r--android/qemulator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/qemulator.c b/android/qemulator.c
index c90a674..ee9ccbb 100644
--- a/android/qemulator.c
+++ b/android/qemulator.c
@@ -98,6 +98,8 @@ qemulator_fb_update( void* _emulator, int x, int y, int w, int h )
QEmulator* emulator = _emulator;
if (!emulator->window) {
+ if (emulator->opts->no_window)
+ return;
qemulator_setup( emulator );
}
skin_window_update_display( emulator->window, x, y, w, h );