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 

read buffer

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



Joined: 17 Dec 2009
Posts: 39

PostPosted: Tue Jan 26, 2010 8:30 am    Post subject: read buffer Reply with quote

Thanks for the replies. I'll try this now.
Actually, i've got an workaround hint i'd like to try first.
I've noticed the following:
When i press SELECT on my program, it runs another loop function, for the user to choose which protocol he likes to use. When i turn the PSP off while in that loop, no freezes whatsoever.
So i'll try to run a loop on HOME press. Kinda dumb, but i'll give it a try.

What do you guys usually do for reading key presses/releases?
That method you've mentioned is interessant. I'll try that too. Thanks again.
Back to top
View user's profile Send private message
Raphael



Joined: 17 Jan 2006
Posts: 646
Location: Germany

PostPosted: Tue Jan 26, 2010 8:56 am    Post subject: Reply with quote

If you like having your programs reliability be one in a hot springs saturday new moon night, then this is a possible solution, yes.
If you want your program to just work as intended, get rid of all infinite loops.
_________________
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Back to top
View user's profile Send private message Visit poster's website
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