comparison test/nds-test-progs/general/source/main.c @ 5275:7aba0406c273

Frank Zago to sdl The following patch fixes some of the bitrot for the Nintendo DS port. The support is still basic at the moment, but it allows to run the "general" test under the current head of tree (parent: 5269:11bd1585efb5 tip). Most of the patch is mine, but I integrated a couple changes that John Magnotti posted on Feb 1st.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 12 Feb 2011 11:36:56 -0800
parents 204be4fc2726
children
comparison
equal deleted inserted replaced
5274:11bd1585efb5 5275:7aba0406c273
82 rect.y += 3; 82 rect.y += 3;
83 rect.w -= 8; 83 rect.w -= 8;
84 rect.h -= 6; 84 rect.h -= 6;
85 } 85 }
86 printf("button %d pressed at %d ticks\n", 86 printf("button %d pressed at %d ticks\n",
87 event.jbutton.which, SDL_GetTicks()); 87 event.jbutton.button, SDL_GetTicks());
88 break; 88 break;
89 case SDL_QUIT: 89 case SDL_QUIT:
90 SDL_Quit(); 90 SDL_Quit();
91 return 0; 91 return 0;
92 default: 92 default: