forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SDL dont show anything

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Eskema



Joined: 26 May 2006
Posts: 6

PostPosted: Tue Jul 11, 2006 2:43 am    Post subject: SDL dont show anything Reply with quote

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 music ingame.
If i recompile the source for linux all is perfect and the screen shows the game properly.

why sometimes, when i do a few changes i only get a black screen, while in linux all work properly?
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Jul 11, 2006 3:18 am    Post subject: Reply with quote

Probably just some subtle bug that causes problems on the PSP but not the PC.. maybe try running the Linux version under valgrind?
Back to top
View user's profile Send private message
Kojima



Joined: 26 Jun 2006
Posts: 275

PostPosted: Tue Jul 11, 2006 5:38 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Eskema



Joined: 26 May 2006
Posts: 6

PostPosted: Tue Jul 11, 2006 3:08 pm    Post subject: Reply with quote

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.


thanks ill try it, in fact when i compile for linux i dont have -O2 flag ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group