thanks ill try it, in fact when i compile for linux i dont have -O2 flag ;)Kojima wrote:I recently encountered similar problems. adding some obscure code just resulted in me getting a black screen. It was fixed by removing -02 optimization flag from my makefile.
Might be worth a shot.
Search found 6 matches
- Tue Jul 11, 2006 3:08 pm
- Forum: PSP Development
- Topic: SDL dont show anything
- Replies: 3
- Views: 1279
- Tue Jul 11, 2006 2:43 am
- Forum: PSP Development
- Topic: SDL dont show anything
- Replies: 3
- Views: 1279
SDL dont show anything
Hi all, i have a strange problem with SDL, im making a game, and all is perfect until now, i put some ints that i need: int SpecialWeapon = 1; int anything = 0; and change the movement speed, now i recompile the source and wtf i only can see a black screen, but the game works because i listen the mu...
- Sat May 27, 2006 4:59 am
- Forum: PSP Development
- Topic: Problem with SDL and graphics
- Replies: 6
- Views: 2537
If you want a speed increase, use 16 bit mode as your graphics mode. You have to convert all surfaces to 16 bit mode as well to realize a speed beneift. Also, when converting you need to make sure you convert the surfaces to Software surfaces. By default it will convert them to HARDWARE surafces (a...
- Sat May 27, 2006 1:11 am
- Forum: PSP Development
- Topic: Problem with SDL and graphics
- Replies: 6
- Views: 2537
hi, i also ran into some problems with sdl on the psp i had to learn that the psp doesn't like small 16bit surfaces you could try to initialize sdl with 32bpp, just to see if it works pensoffsky Ok i've used 32bpp and now works, but its too slow, and ¿why the SRCCOLORKEY doesnt work? SDL_SetColorKe...
- Fri May 26, 2006 3:10 am
- Forum: PSP Development
- Topic: Problem with SDL and graphics
- Replies: 6
- Views: 2537
i think if the images are at the wrong depth its due a psp limitation, ¿isn't it? in the xbox or dc the game runs without any trouble, even in gp2x.
Maybe its any lack of functionality in the SDL port or maybe im a noob thinking that i can port any of my SDL games without change anything in the code
Maybe its any lack of functionality in the SDL port or maybe im a noob thinking that i can port any of my SDL games without change anything in the code
- Fri May 26, 2006 12:05 am
- Forum: PSP Development
- Topic: Problem with SDL and graphics
- Replies: 6
- Views: 2537
Problem with SDL and graphics
Hi all, i have an SDL game that i've made for pc, now im doing a port to DC, XBOX and GP2X. Im porting to psp and the graphics dont show correctly. The res its 320x240x16 and the tiles 32x32, ¿any idea of whats happening? Im using png format and converting to .h, the game runs perfect in other platf...