[CHG] README.TXT update

This commit is contained in:
Crayon2000 2009-01-20 05:17:13 +00:00
parent 66a1014e66
commit 6649c513f8
3 changed files with 5 additions and 4 deletions

View file

@ -48,6 +48,7 @@ ChangeLog :
* added GRRLIB_LoadTextureJPG (thx crayon for the file end detection idea)
* InitVideo() and GRRLIB_Start() merge into GRRLIB_Init().
have a look at the sample code to see how all this work ;)

View file

@ -6,7 +6,6 @@
===========================================*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <malloc.h>
#include <stdarg.h>
#include <string.h>

View file

@ -21,9 +21,10 @@
Mtx GXmodelView2D;
int main(){
int main() {
int left = 0;
ir_t ir1;
u32 wpaddown, wpadheld;
GRRLIB_Init();
@ -49,8 +50,8 @@ int main(){
while(1){
WPAD_SetVRes(0, 640, 480);
WPAD_ScanPads();
u32 wpaddown = WPAD_ButtonsDown(0);
u32 wpadheld = WPAD_ButtonsHeld(0);
wpaddown = WPAD_ButtonsDown(0);
wpadheld = WPAD_ButtonsHeld(0);
WPAD_IR(WPAD_CHAN_0, &ir1);