+rasterHeight = (vjs.hardwareTypeNTSC ? VIRTUAL_SCREEN_HEIGHT_NTSC : VIRTUAL_SCREEN_HEIGHT_PAL);
+
+ // If we're in fullscreen mode, we take the value of the screen width as
+ // set by MainWin, since it may be wider than what our aspect ratio allows.
+ // In that case, we adjust the viewport over so that it's centered on the
+ // screen. Otherwise, we simply take the width from our width() funtion
+ // which will always be correct in windowed mode.
+
+// unsigned outputWidth = width();
+ if (!fullscreen)
+ outputWidth = width();