+ sprintf(window_title, "Virtual Jaguar (%i x %i)", (int)tom_width, (int)tom_height);
+// console.close();
+// console.open(window_title, width, tom_height, format);
+//???Should we do this???
+// SDL_FreeSurface(mainSurface);
+ mainSurface = SDL_SetVideoMode(tom_width, tom_height, 16, mainSurfaceFlags);
+
+ if (mainSurface == NULL)
+ {
+ WriteLog("Joystick: SDL is unable to set the video mode: %s\n", SDL_GetError());
+ exit(1);
+ }
+
+ SDL_WM_SetCaption(window_title, window_title);
+
+// ws_audio_init();
+// ws_audio_reset();