#164699 - RatherBeerBrew - Fri Nov 14, 2008 3:00 pm
Hi,
I just installed SDL-port for NDS in DevkitPro. But I've got some problems...
if I use "SDL_LoadBMP" to load my .bmp-Images, SDL/NDS crashes. Is there any howto/tutorial f?r using bitmaps on NDS-port of SDL?
Here's what I do:
8< 8< 8< 8< 8< 8< 8< 8<
>8 >8 >8 >8 >8 >8 >8 >8
BTW: on SDL-ports for PC/LINUX/Wii >>this<< source works fine! Any Ideas?
I just installed SDL-port for NDS in DevkitPro. But I've got some problems...
if I use "SDL_LoadBMP" to load my .bmp-Images, SDL/NDS crashes. Is there any howto/tutorial f?r using bitmaps on NDS-port of SDL?
Here's what I do:
8< 8< 8< 8< 8< 8< 8< 8<
Code: |
pac = SDL_LoadBMP("gfx\pac.bmp");
if ( pac == NULL) { printf("Can't load image of tux: %s", SDL_GetError()); exit(1); }; |
>8 >8 >8 >8 >8 >8 >8 >8
BTW: on SDL-ports for PC/LINUX/Wii >>this<< source works fine! Any Ideas?