- /* try to switch nicely avoiding tearing on Wiz */
- gp2x_video_wait_vsync();
- memset(gp2x_screens[0], 0, 320*240*2);
- memset(gp2x_screens[1], 0, 320*240*2);
- gp2x_video_flip2();
- gp2x_video_wait_vsync();
- gp2x_video_wait_vsync();
+ if (gp2x_current_bpp != 16 || gp2x_dev_id == GP2X_DEV_WIZ) {
+ /* try to switch nicely avoiding glitches */
+ gp2x_video_wait_vsync();
+ memset(gp2x_screens[0], 0, 320*240*2);
+ memset(gp2x_screens[1], 0, 320*240*2);
+ gp2x_video_flip2(); // might flip to fb2/3
+ gp2x_video_flip2(); // ..so we do it again
+ // gp2x_video_wait_vsync();
+ }