diff options
Diffstat (limited to 'android/qemulator.c')
-rw-r--r-- | android/qemulator.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/android/qemulator.c b/android/qemulator.c index 36a9ec8..c90a674 100644 --- a/android/qemulator.c +++ b/android/qemulator.c @@ -97,8 +97,10 @@ qemulator_fb_update( void* _emulator, int x, int y, int w, int h ) { QEmulator* emulator = _emulator; - if (emulator->window) - skin_window_update_display( emulator->window, x, y, w, h ); + if (!emulator->window) { + qemulator_setup( emulator ); + } + skin_window_update_display( emulator->window, x, y, w, h ); } static void |