mirror of
https://github.com/devkitPro/wut.git
synced 2026-09-07 10:45:36 -05:00
whb/gfx: Use 4:3 TV buffers on 4:3 TVs (#383)
* square monitor support * Update gfx.c Fix typo * do it using gx2 instead of avm * Update gfx.c remove some newlines * Update gfx.c newline fix * Update gfx.c
This commit is contained in:
@@ -315,9 +315,15 @@ WHBGfxInit()
|
||||
{
|
||||
case GX2_TV_SCAN_MODE_480I:
|
||||
case GX2_TV_SCAN_MODE_480P:
|
||||
sTvRenderMode = GX2_TV_RENDER_MODE_WIDE_480P;
|
||||
tvWidth = 854;
|
||||
tvHeight = 480;
|
||||
if (GX2GetSystemTVAspectRatio() == GX2_ASPECT_RATIO_16_9) {
|
||||
sTvRenderMode = GX2_TV_RENDER_MODE_WIDE_480P;
|
||||
tvWidth = 854;
|
||||
tvHeight = 480;
|
||||
} else {
|
||||
sTvRenderMode = GX2_TV_RENDER_MODE_STANDARD_480P;
|
||||
tvWidth = 640;
|
||||
tvHeight = 480;
|
||||
}
|
||||
break;
|
||||
case GX2_TV_SCAN_MODE_1080I:
|
||||
case GX2_TV_SCAN_MODE_1080P:
|
||||
|
||||
Reference in New Issue
Block a user