*skin_argv = &(argv[i + 1]);
+#if 0
/* find out the size of lcd */
for(q = 0; q < (argc - i - 7); ++q) {
if (strncmp(**skin_argv + q, "width=", 6) == 0) {
break;
}
}
+#endif
break;
}
}
/* create surface_qemu */
- if (w == get_emul_lcd_width() && h == get_emul_lcd_height()) {
+ //if (w == get_emul_lcd_width() && h == get_emul_lcd_height()) {
surface_qemu = SDL_CreateRGBSurfaceFrom(ds_get_data(ds), w, h,
ds_get_bits_per_pixel(ds),
ds_get_linesize(ds),
ds->surface->pf.gmask,
ds->surface->pf.bmask,
ds->surface->pf.amask);
+#if 0
} else {
INFO("create blank screen = (%d, %d)\n", get_emul_lcd_width(), get_emul_lcd_height());
surface_qemu = SDL_CreateRGBSurface(SDL_SWSURFACE, w, h,
ds_get_bits_per_pixel(ds), 0, 0, 0, 0);
}
+#endif
#ifdef SDL_THREAD
pthread_mutex_unlock(&sdl_mutex);