Changes

Jump to navigation Jump to search
220 bytes removed ,  09:03, 22 July 2008
m
no edit summary
Seems [[Category:Deutschsprachiger]] The first line of the console is never displayed, it seems to be a bug in the console. This is not a matter of the TVoverscan, the first line is never displayed no matter how much yoffset, you have to always printf \n at the start. !? 
<source lang="c">
#include <stdio.h>
#include <gccore.h>
#include <wiiuse/wpad.h>
 
static void *xfb = NULL;
VIDEO_Flush();
VIDEO_WaitVSync();
if (rmode->viTVMode&VI_NON_INTERLACE) {
VIDEO_WaitVSync();
}
int h;
for (h=4;h<rows;h++) {
// printf("%2d\n",h);
printf("%2d 45678-1123456789212345678-312345678-412345678-512345678-612345678-7\n",h);
WPAD_ReadPending(WPAD_CHAN_ALL, 0 /*countevs*/);
res = WPAD_Probe(0, &type);
if (res == WPAD_ERR_NONE) {
wd = WPAD_Data(0);
if (wd->btns_h & WPAD_BUTTON_HOME) {
dohome = 1;
}
printf("Exiting...\n");
/*
if (dooff) SYS_ResetSystem(SYS_POWEROFF,0,0);
exit(0); exit to loader
SYS_ResetSystem(SYS_RETURNTOMENU,0,0);
SYS_RESTART reboot wii
SYS_RETURNTOMENU for a "soft" return to the system menu
SYS_POWEROFF to shut down the wii (automatically to the appropriate Idle or Standby mode,
depending on the WC24 setting)
*/
return 0;
}
</source>
316

edits

Navigation menu