Search found 10 matches

by Nige
Wed Jan 11, 2006 8:02 pm
Forum: PSP Development
Topic: Problem building app using SDL_mixer
Replies: 2
Views: 2218

I did.

However I'm not linking to either of those libraries as I don't need OGG support. I tried to disable it when compiling SDL_mixer but it always seems to be included.
by Nige
Wed Jan 11, 2006 10:30 am
Forum: PSP Development
Topic: Problem building app using SDL_mixer
Replies: 2
Views: 2218

Problem building app using SDL_mixer

Hi, I'm just trying to add SDL_mixer support to my application but I'm having a bit of a problem. I've compiled the SDL_mixer sources from svn with no problems, however when I try to compile my app I get: /usr/local/pspdev/psp/lib/libSDL_mixer.a(music_ogg.o): In function `OGG...
by Nige
Sat Jan 07, 2006 3:24 am
Forum: PSP Development
Topic: Weird bug
Replies: 6
Views: 2287

I've not run your code, but it'd be safer to use the C string functions, like: sprintf(month, "%i", i) instead of trying to directly manipulate a char array. This also ensures your string is zero-terminated (as long as 'month' is defined as char[3] or larger). Personally I'd rework your lo...
by Nige
Sun Dec 25, 2005 12:38 am
Forum: PSP Development
Topic: CPCPSP 0.1 - An Amstrad CPC emulator for the PSP
Replies: 2
Views: 1596

CPCPSP 0.1 - An Amstrad CPC emulator for the PSP

Hello folks,

I've released the first version of CPCPSP, an Amstrad CPC emulator for the Sony PSP.

Download at http://nige.the-pub.org/cpcpsp/

This is a tentative first release. There are many problems which will be ironed out soon.

Hope it's not too bad a Christmas present anyway!

Nige
by Nige
Thu Nov 03, 2005 7:25 am
Forum: PSP Development
Topic: SDL problem
Replies: 1
Views: 1191

SDL problem

It looks like the latest update to SDL has broken something. What was a normal SDL application is now a flickering mess - I think it's due to the newly-added sceGuSync in PSP_FlipHWSurface. Can someone verify?

--Edit: Sorry, it wasn't a problem in SDL after all! D'oh.
by Nige
Fri Oct 28, 2005 9:05 pm
Forum: PSP Development
Topic: SDL Graphics Tearing Problem
Replies: 16
Views: 5890

The SDL docs say that SDL_Flip() should set up a flip but return immediately, so having the flip wait for vblank would be wrong. Agreed. Yes, _NEXTFRAME sounds like it's exactly what we want (flip the buffer at the next frame), but I recall that there were some problems with it when it was last tri...
by Nige
Fri Oct 28, 2005 8:51 pm
Forum: PSP Development
Topic: SDL Graphics Tearing Problem
Replies: 16
Views: 5890

Just reading some other comments on SDL and I've read that if SetVideoMode is called with a bit depth that the hardware doesn't support, a shadow surface is created. Would this be worth looking into? This is the thing - if you want a hardware video mode then you must use 480x272 at 15, 16 or 32 bit...
by Nige
Fri Oct 28, 2005 7:35 am
Forum: PSP Development
Topic: SDL Graphics Tearing Problem
Replies: 16
Views: 5890

This is in tandem with most other SDL ports - none have an explicit wait for VBLANK. This isn't quite true - some do and some don't. For example, the SVGA driver definately does wait for a vblank, and the DirectX5 driver will depending on the video driver settings. I think the PSP driver would be i...
by Nige
Thu Oct 06, 2005 2:58 am
Forum: General Discussion
Topic: PSP charging
Replies: 4
Views: 3664

> Keep in mind that the PSP uses a 5V DC power supply, which by itself > delivers very little power. If you are using the PSP to play a game, with wifi > turned on, chances are that very little extra power is available for > recharging the battery. Voltage isn't "used up" by devices, curre...
by Nige
Wed Oct 05, 2005 10:20 pm
Forum: General Discussion
Topic: PSP charging
Replies: 4
Views: 3664

PSP charging

I was just wondering, is it normal for the PSP to stop charging from AC when the wireless connection is being used? This does slightly limit how long wireless games can last..