mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-12-23 02:39:19 +00:00
[CHG] README.TXT update
This commit is contained in:
parent
66a1014e66
commit
6649c513f8
3 changed files with 5 additions and 4 deletions
|
@ -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 ;)
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
===========================================*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <malloc.h>
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue