From 7740c1c0a21e1c22a829f3426e5bed086e2c966f Mon Sep 17 00:00:00 2001 From: dborth Date: Wed, 5 Nov 2008 17:29:49 +0000 Subject: [PATCH] correct widescreen fix --- source/ngc/video.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source/ngc/video.cpp b/source/ngc/video.cpp index 3fb03aa..ea2fe9a 100644 --- a/source/ngc/video.cpp +++ b/source/ngc/video.cpp @@ -306,8 +306,11 @@ void InitialiseVideo () progressive = true; // widescreen fix - vmode->viWidth = 678; - vmode->viXOrigin = (VI_MAX_WIDTH_PAL - 678) / 2; + if(CONF_GetAspectRatio()) + { + vmode->viWidth = 678; + vmode->viXOrigin = (VI_MAX_WIDTH_PAL - 678) / 2; + } VIDEO_Configure(vmode); @@ -347,7 +350,7 @@ void UpdateScaling() { int xscale; int yscale; - + // keep correct aspect ratio // and use entire screen if(vwidth == 240) // GBA