Question about SDL in PSP

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
dospro
Posts: 13
Joined: Thu Sep 14, 2006 11:17 am

Question about SDL in PSP

Post by dospro »

Hi there.
Well, i'm kinda new with PSP programming, although i have previously programmed for dreamcast and gameboy.

I have finally set my toolchain up and running( there are quite lot of threads which solve wach of the problems you may encounter xD)
Anyway.
Now that i have set everything, and works. I have some doubts about SDL.
I have used SDL in most of my projects(on PC, DC, etc).
But after reading some tutorials about PSP programming, i found i have add "special" code to each of my programs.
My question is. Does SDL add all this "special" code automatically, or do i have to add it manually.
And by the way, what kind of support does the psplibraries have for OpenGL?
can i use it like KGL?
Well that's it. If anyone can clarify this for me i would bevery thankful.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

Just look at existing SDL programs for the PSP that are out. Generally, you have to modify the makefile, but not the app. SDL supports OpenGL, but the OpenGL driver for the PSP is closer to OpenGL ES, so there are various things that aren't supported. You just have to check against the program you want to convert and either rewrite the code or add dummy functions for what's missing.
Post Reply