Talk:Disk Drive Lighter
Jump to navigation
Jump to search
A little tip for the source page
<XMP></XMP>
Beetween these HTML tags, no code will be parsed. That means, you can remove the spaces at the includes.
As for the app, it's pretty odd. The one in the HBC just displays "Hello World!" and when I compile from source (I had to add a "void " before WIILIGHT_Init();), it doesn't toggle. I have a 4.2E Wii, if that helps. --Superyoshi 13:54, 27 January 2010 (UTC)
- or you could put it here on wiibrew with some <source lang="c"> tags around it like this:
#include <stdio.h>
#include <stdlib.h>
#include <gccore.h>
#include <wiiuse/wpad.h>
#include <wiilight.h>
static void *xfb = NULL;
static GXRModeObj *rmode = NULL;
//---------------------------------------------------------------------------------
int main(int argc, char **argv) {
//---------------------------------------------------------------------------------
// Initialise the video system
VIDEO_Init();