Results 1 to 2 of 2

Thread: Current status of SDL port

                  
   
  1. #1
    DCEmu Newbie
    Join Date
    Jan 2009
    Location
    Brazil
    Age
    42
    Posts
    2
    Rep Power
    0

    Smile Current status of SDL port

    What is the current status of NDS port of libSDL? Is it active? How can I contribute?

  2. #2
    DCEmu Coder Sektor's Avatar
    Join Date
    Nov 2005
    Location
    Australia
    Posts
    212
    Rep Power
    68

    Default

    You'll need to comment out a couple of lines (I think powerON, consoleInit and irqInit) to get NDS SDL 1.2.9 to compile on devkitARM_r24 and the sound support will probably be broken but I haven't tested it.

    SDL 1.3 looks interesting. Darren Alton worked on the DS port of that. I don't think he has made any updates since August 2008. I'm not really sure where to download Darren's latest code, some of it seems to be on http://www.libsdl.org but there were many errors when I tried compiling that version. There's a DIFF here. I think that diff has already been applied to 1.3 downloadable from libsdl.org.

    some 1.3 error's when compiling with devkitARM_r24 and libnds-1.3.1:
    src/video/nds/SDL_ndsrender.c:42: error: expected ')' before '*' token
    src/video/nds/SDL_ndsrender.c: In function 'NDS_OAM_RotateSprite':
    src/video/nds/SDL_ndsrender.c:52: error: 'SIN' undeclared (first use in this function)
    src/video/nds/SDL_ndsrender.c:52: error: (Each undeclared identifier is reported only once
    src/video/nds/SDL_ndsrender.c:52: error: for each function it appears in.)
    src/video/nds/SDL_ndsrender.c:53: error: 'COS' undeclared (first use in this function)

    Best to stick with 1.2.x unless you feel like doing a lot of work.
    Last edited by Sektor; January 8th, 2009 at 18:57.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •