diff 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
line wrap: on
line diff
--- a/test/nds-test-progs/general/source/main.c	Sat Feb 12 10:13:53 2011 -0800
+++ b/test/nds-test-progs/general/source/main.c	Sat Feb 12 11:36:56 2011 -0800
@@ -82,7 +82,7 @@
                     rect.h -= 6;
                 }
                 printf("button %d pressed at %d ticks\n",
-                       event.jbutton.which, SDL_GetTicks());
+                       event.jbutton.button, SDL_GetTicks());
                 break;
             case SDL_QUIT:
                 SDL_Quit();