Talk:Disk Drive Lighter

From WiiBrew
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();
though to be honest, this just looks just like the example code that comes with dkp with only minimal modifications. Yossi 20:17, 27 January 2010 (UTC)
Yossi, that's almost what I wrote here. --Crayon (talk) 21:14, 27 January 2010 (UTC)