You are not logged in.
Hi !
You want the widescreen support for your homebrew ? It's simple ! I coded a patch for GRRLIB. It verify if 16/9 is selected in the Wii Parameters of user.
INSTALLATION
Add in GRRLIB.h :
#include <ogc/conf.h>
Add in GRRLIB.c (in your GRRLIB_InitVideo function) :
void GRRLIB_InitVideo () { [...] rmode = VIDEO_GetPreferredMode(NULL); /* Widescreen patch by CashMan's Productions (http://www.CashMan-Productions.fr.nf) */ if (CONF_GetAspectRatio() == CONF_ASPECT_16_9) { rmode->viWidth = 678; rmode->viXOrigin = (VI_MAX_WIDTH_NTSC - 678)/2; } xfb[0] = (u32 *)MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode)); xfb[1] = (u32 *)MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode)); [...] }
Thanks !
Last edited by CashMan (2009-01-27 20:40:31)
Offline