|
|
|
@ -68,7 +68,7 @@ void display_init() |
|
|
|
FntLoad(960, 0); |
|
|
|
|
|
|
|
// Open up a test font text stream |
|
|
|
FntOpen(0, 8, SCREENWIDTH, screenHeight, 0, 512); |
|
|
|
FntOpen(0, 16, SCREENWIDTH, screenHeight, 0, 512); |
|
|
|
} |
|
|
|
|
|
|
|
void display_reset(int mode, u_char interlaced, int *outScreenHeight) |
|
|
|
@ -83,12 +83,12 @@ void display_reset(int mode, u_char interlaced, int *outScreenHeight) |
|
|
|
yOffset = (240 - SCREENHEIGHT_NTSC) >> 1; // Vertically center the image for NTSC displays |
|
|
|
|
|
|
|
// Scale Y coordinates to correct the aspect ratio for NTSC's typical visible screen area |
|
|
|
aspect_scale.vy = 224 * ONE / 240; |
|
|
|
aspect_scale.vy = 216 * ONE / 240; |
|
|
|
} |
|
|
|
else // MODE_PAL |
|
|
|
{ |
|
|
|
screenHeight = SCREENHEIGHT_PAL; |
|
|
|
yOffset = (288 - SCREENHEIGHT_PAL) >> 1; // Vertically center the image for PAL displays |
|
|
|
yOffset = (296 - SCREENHEIGHT_PAL) >> 1; // Vertically center the image for PAL displays |
|
|
|
|
|
|
|
// Scale Y coordinates to correct the aspect ratio for PAL's non-square pixels |
|
|
|
aspect_scale.vy = 256 * ONE / 240; |
|
|
|
|