[PATCH] Nintendo DS update

Hi Sam,

This patch updates the DS port:

  • do not use the now removed compat layer.
  • integrate parts of libgl2D since I got permission from the author, and thus
    removed an external dependancy,
  • a few bugs fixes.

Now, the textures should be completely supported, except reading from them
which doesn’t makes sense to have on the DS. Sound is still not supported.

If someone else wants to work on the missing pieces, feel free.

Regards,
Frank.
-------------- next part --------------
A non-text attachment was scrubbed…
Name: nds20.diff
Type: text/x-diff
Size: 32102 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20120211/94f119a8/attachment.diff

This patch is in, thanks!
http://hg.libsdl.org/SDL/rev/f12649068adbOn Sat, Feb 11, 2012 at 3:01 PM, Frank Zago wrote:

Hi Sam,

This patch updates the DS port:

  • do not use the now removed compat layer.
  • integrate parts of libgl2D since I got permission from the author, and
    thus
    removed an external dependancy,
  • a few bugs fixes.

Now, the textures should be completely supported, except reading from them
which doesn’t makes sense to have on the DS. Sound is still not supported.

If someone else wants to work on the missing pieces, feel free.

Regards,
Frank.

I’d say that src/render/nds/SDL_libgl2D.c is missing a line like:

Code:
#if SDL_VIDEO_RENDER_NDS

[/code]

Indeed. I’ll send a patch to fix that.

Thanks,
Frank.On 02/15/2012 08:37 AM, josebagar wrote:

I’d say that src/render/nds/SDL_libgl2D.c is missing a line like:

Code:
#if SDL_VIDEO_RENDER_NDS

[/code]

Great! :slight_smile:
Frank Zago wrote:> On 02/15/2012 08:37 AM, josebagar wrote:

I’d say that src/render/nds/SDL_libgl2D.c is missing a line like:

Code:
#if SDL_VIDEO_RENDER_NDS

[/code]

Indeed. I’ll send a patch to fix that.

Thanks,
Frank.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I see that the patch was committed.

Thanks a lot!

josebagar wrote:> Great! :slight_smile:

Frank Zago wrote:

On 02/15/2012 08:37 AM, josebagar wrote:

I’d say that src/render/nds/SDL_libgl2D.c is missing a line like:

Code:
#if SDL_VIDEO_RENDER_NDS

[/code]

Indeed. I’ll send a patch to fix that.

Thanks,
Frank.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org