[CHG] Example nonameno02 is now compiling

This commit is contained in:
Crayon2000 2009-11-23 19:50:36 +00:00
parent 8770af329b
commit d6e07b3a68
3 changed files with 10 additions and 11 deletions

View file

@ -20,7 +20,6 @@ int main() {
int i;
GRRLIB_Init();
WPAD_Init();
@ -40,7 +39,7 @@ int main() {
GRRLIB_DrawImg(0, 0, tex_screen[i], 0, 1, 1, 0xFFFFFFFF);
GRRLIB_DrawImg(((640-64)/2)+sin(sinx[0])*160+sin(sinx[1])*sin(sinx[2])*50,((480-64)/2)+sin(siny[0])*120+sin(siny[1])*sin(siny[2])*50, tex_ball, 0, 1, 1, 0xFFFFFFFF);
sinx[0]+=0.02;sinx[1]+=0.03;sinx[2]+=0.05;siny[0]+=0.03;siny[1]+=0.01;siny[2]+=0.06;
GRRLIB_Screen2Texture(tex_screen[i]);
GRRLIB_Screen2Texture(0, 0, tex_screen[i], false);
GRRLIB_Render();
}

View file

@ -12,7 +12,7 @@ ifeq ($(strip $(DEVKITPRO)),)
endif
#-------------------------------------------------------------------------------
# Applicatin will be named after this directory
# Application will be named after this directory
#-------------------------------------------------------------------------------
APP := $(notdir $(CURDIR))
ELF := $(APP).elf