From 3d12a4f77eecea2244b7b8de87fe371f69d191d2 Mon Sep 17 00:00:00 2001 From: Xane Date: Tue, 1 Sep 2009 00:19:00 +0000 Subject: [PATCH] [CHG] Adjusted the visible screen width for 4:3 screens also, circles should now look like circles... --- GRRLIB/GRRLIB/GRRLIB_core.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/GRRLIB/GRRLIB/GRRLIB_core.c b/GRRLIB/GRRLIB/GRRLIB_core.c index 7481a8a..0978e4b 100644 --- a/GRRLIB/GRRLIB/GRRLIB_core.c +++ b/GRRLIB/GRRLIB/GRRLIB_core.c @@ -62,10 +62,13 @@ int GRRLIB_Init (void) { break; } - // Widescreen patch by CashMan's Productions (http://www.CashMan-Productions.fr.nf) + // 16:9 and 4:3 Screen Adjustment if (CONF_GetAspectRatio() == CONF_ASPECT_16_9) { rmode->viWidth = 678; rmode->viXOrigin = (VI_MAX_WIDTH_NTSC - 678)/2; + } else { // 4:3 + rmode->viWidth = 672; + rmode->viXOrigin = (VI_MAX_WIDTH_NTSC - 672)/2; } VIDEO_Configure(rmode);