In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

User:Arn

From WiiBrew
Jump to navigation Jump to search

BootMii/IOS launch program

#include <stdio.h>
#include <stdlib.h>
#include <gccore.h>

static void *xfb = NULL;
static GXRModeObj *rmode = NULL;

s32 __IOS_LoadStartupIOS()
{
	return 0;
}

int main(int argc, char **argv) {
	VIDEO_Init();
	rmode = VIDEO_GetPreferredMode(NULL);
	xfb = MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode));
	console_init(xfb,20,20,rmode->fbWidth,rmode->xfbHeight,
	             rmode->fbWidth*VI_DISPLAY_PIX_SZ);
	VIDEO_Configure(rmode);
	VIDEO_SetNextFramebuffer(xfb);
	VIDEO_SetBlack(FALSE);
	VIDEO_Flush();
	VIDEO_WaitVSync();
	if(rmode->viTVMode&VI_NON_INTERLACE) VIDEO_WaitVSync();

	printf("\x1b[2;0H");
	printf("Loading IOS254");
	
	IOS_ReloadIOS(254);
	return 0;
}

User information

Wii This user is running System Menu 4.1 on their Wii.
This user has at least one trucha vulnerable IOS.
de This user is a native speaker of German.
3 Wii Remotes This user owns 3 Wii Remotes.
This user owns 3 Nunchuks.
This user owns 2 Classic Controllers.
GameCube Controller This user owns 4 GameCube Controllers.
Wii MotionPlus This user owns 2 Wii MotionPlus units.
Wii Speak This user owns a Wii Speak.
Wi-Fi This user uses Wi-Fi.
SD Card This user owns a 2GB+1GB SD card.
SDHC Card This user owns a 8GB SDHC card.
This user beta tests homebrew.
BootMii This user has installed BootMii on their Wii.
DVDX This user has installed DVDX on their Wii.
MPlayer CE This user uses MPlayer CE to play media on their Wii.
This user owns 1 Nintendo DS Lite.
This user has installed the Homebrew Channel on their Wii.