I moved over to developing on my actual Wii (since Dolphin was causing me problems) and I noticed that there are small borders on the sides of the example programs supplied by devkitPro for the Wii. Neither my Wii menu nor the Homebrew Channel have these black borders.
Any ideas? Is this a known limitation or effect of setting things up a certain way?
Example Wii programs have black borders on sides
-
- Posts: 4
- Joined: Wed Sep 07, 2011 10:04 pm
-
- Posts: 4
- Joined: Wed Sep 07, 2011 10:04 pm
Re: Example Wii programs have black borders on sides
Found the solution.
I checked the source code to Snex9x GX, and they do something like this:
This code, added after rmode = VIDEO_GetPreferredMode(NULL) appears to fill in the rest of the frame at least as well as the Wii's main menu fills it in.
I checked the source code to Snex9x GX, and they do something like this:
Code: Select all
if( CONF_GetAspectRatio() == CONF_ASPECT_16_9 ) {
rmode->viWidth = 678;
} else {
rmode->viWidth = 672;
}
if(true) { //vmode is 60hz
rmode->viXOrigin = (VI_MAX_WIDTH_NTSC - rmode->viWidth)/2;
rmode->viYOrigin = (VI_MAX_HEIGHT_NTSC - rmode->viHeight)/2;
}
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 0 guests