+ if(!(vmem = set_video_mode(vmidx, 1))) {
+ return 1;
+ }
+
+ if(opt.mouse) {
+ if((opt.mouse = have_mouse())) {
+ printf("initializing mouse input\n");
+ set_mouse_limits(0, 0, FB_WIDTH - 1, FB_HEIGHT - 1);
+ set_mouse(FB_WIDTH / 2, FB_HEIGHT / 2);
+ }
+ }
+
+ if(demo_init(argc, argv) == -1) {
+ status = -1;
+ goto break_evloop;
+ }