PNo4 said:ZaMaster said:Does anyone know how to compile a version with proper 16:9 support? Because all the versions in this thread still give me black borders on the left and right side of the screen.
Sadly there is no PROPER Widescreen (16:9) fix anywhere yet. Not even Homebrew Channel v1.0.1 have a PROPER Widescreen mode.
If you check on a Wii in 4:3 mode on a 4:3 TV and look at the SD-card when booting HBC v1.0.1, and compare that to a Wii in 16:9 on a 16:9 TV you will see that the SD-card actually is thicker/wider in 16:9 mode then in 4:3 mode, so the "FIX" is a small stretching codefix.
That is whats possible right now as far as I have seen (tell me if I'm wrong).
If a little more stretch to the picture is OK (you hate borders more then a stretched picture) then this is whats need to be done:
Find this place in: Video.c
Code:void Video_SetMode(void) { ÂÂÂÂ/* Select preferred video mode */ ÂÂÂÂvmode = VIDEO_GetPreferredMode(NULL); ÂÂÂÂ ÂÂÂÂ/* Allocate memory for the framebuffer */ ÂÂÂÂframebuffer = MEM_K0_TO_K1(SYS_AllocateFramebuffer(vmode));
And change/add this to: Video.c
CODEvoid Video_SetMode(void)
{
ÂÂÂÂ/* Select preferred video mode */
ÂÂÂÂvmode = VIDEO_GetPreferredMode(NULL);
ÂÂÂÂ
ÂÂÂÂvmode->viWidth = 678;
ÂÂÂÂvmode->viXOrigin = (VI_MAX_WIDTH_PAL - 678)/2;
ÂÂÂÂ/* Allocate memory for the framebuffer */
ÂÂÂÂframebuffer = MEM_K0_TO_K1(SYS_AllocateFramebuffer(vmode));
If this is done there should no longer be any black bars on the screen.
This works!
I've just added it to my testing source.
But what happens with the screen when using this on a 4:3 Screen? I can't test that.












