NDS update

Frank Zago to SDL

There's also a patch to adapt one test for the nds, and that adds several
makefiles to compile these tests. Whenever you apply it, could you completely
remove the test/nds-test-progs/sprite and test/nds-test-progs/sprite2
directories ?
This commit is contained in:
Sam Lantinga 2011-03-26 21:28:17 -07:00
parent ffe479aab8
commit f731db9d8b
6 changed files with 464 additions and 0 deletions

View file

@ -4,8 +4,13 @@
#define SDL_NO_COMPAT
#include "SDL.h"
#ifdef __NDS__
#define DEFAULT_WINDOW_WIDTH 256
#define DEFAULT_WINDOW_HEIGHT (2*192)
#else
#define DEFAULT_WINDOW_WIDTH 640
#define DEFAULT_WINDOW_HEIGHT 480
#endif
#define VERBOSE_VIDEO 0x00000001
#define VERBOSE_MODES 0x00000002