Page 1 of 1

WII_LaunchTitle disables video output

Posted: Thu Jun 07, 2012 2:29 am
by JoostinOnline
I only just noticed this. In the past I could just use WII_LaunchTitle in a list, then give a message if none of the titles existed. For example, if you wanted to give a choice between loading the HBC and reseting, you could do something like:

Code: Select all

while(1) {
		u32 p = WPAD_ButtonsDown(0);
		if (p & WPAD_BUTTON_A) {
			WII_LaunchTitle(TITLE_ID(0x00010001,0xAF1BF516)); // HBC v1.0.7+
			WII_LaunchTitle(TITLE_ID(0x00010001,0x4a4f4449)); // HBC JODI
			WII_LaunchTitle(TITLE_ID(0x00010001,0x48415858)); // HBC HAXX
			printf("\rHBC is not installed");
		if (p & WPAD_BUTTON_HOME) SYS_ResetSystem(SYS_RESTART,0,0); // Restart Wii
Now, "HBC is not installed" won't be shown because video output is disabled. When using the pointer to select options, that makes things far worse because then you can't see what other options are available. In the meantime, I've added VIDEO_SetBlack(false); before messages, but the screen still flashes off for a split second.