mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-12-23 02:39:19 +00:00
[CHG] Adjusted the visible screen width for 4:3 screens also, circles should now look like circles...
This commit is contained in:
parent
9373faaf5e
commit
3d12a4f77e
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue