libwiisprite not working with newest devkitPPC July 04, 2010 08:29PM | Registered: 14 years ago Posts: 3 |
Re: libwiisprite not working with newest devkitPPC July 05, 2010 07:53AM | Registered: 15 years ago Posts: 444 |
#include stdio.h> #include stdlib.h> #include string.h> #include malloc.h> #include gccore.h> #include wiiuse/wpad.h> #include fat.h> #include ogc/gx.h> #include wiisprite.h>. // libwiisprite uses wsp as it's namespace using namespace wsp; int main(int argc, char **argv) { // Create the game window and initalise the VIDEO subsystem GameWindow *gwd = new GameWindow; gwd->InitVideo(); gwd->SetBackground((GXColor){ 0, 255, 0, 255 }); // Initialise Wiimote WPAD_Init(); for(;;) { WPAD_ScanPads(); if(WPAD_ButtonsDown(WPAD_CHAN_0)&WPAD_BUTTON_HOME) exit(0); gwd->Flush(); } return 0; }this is what i use as a template file. It should just turn the screen green and wait for you to press home.
Re: libwiisprite not working with newest devkitPPC July 05, 2010 06:02PM | Registered: 14 years ago Posts: 3 |
Re: libwiisprite not working with newest devkitPPC July 05, 2010 07:24PM | Registered: 15 years ago Posts: 444 |
Re: libwiisprite not working with newest devkitPPC July 05, 2010 08:07PM | Admin Registered: 16 years ago Posts: 5,132 |