- sprintf(window_title, "Virtual Jaguar (%i x %i)", (int)width, (int)height);
-
- if (!vjs.useOpenGL)
+ if (vjs.useOpenGL)
+ {
+//Need to really resize the window height--no pixel height shenanigans!
+//Err, we should only do this *if* we changed from PAL to NTSC or vice versa... !!! FIX !!!
+ mainSurface = SDL_SetVideoMode(VIRTUAL_SCREEN_WIDTH * 2, height * 2, 16, mainSurfaceFlags);
+ // This seems to work well for resizing (i.e., changes in the pixel width)...
+ sdlemu_resize_texture(surface, mainSurface, vjs.glFilter);
+ }
+ else