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 

patch for prxdecrypt sample

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



Joined: 26 Jun 2005
Posts: 9

PostPosted: Thu Jul 14, 2005 4:31 pm    Post subject: patch for prxdecrypt sample Reply with quote

Code:

--- prxdecrypt-old/main.c       2005-07-13 23:27:18.179704000 -0700
+++ prxdecrypt/main.c   2005-07-13 23:29:29.388372800 -0700
@@ -156,7 +156,7 @@
                        }
                }

-               sceIoClose(fd);
+               sceIoDclose(fd);
        }
 }


Although it doesn't cause a problem in the sample, when I tried using code derived from it to scan the entries in a directory I ran out of handles, using sceIoDclose instead of sceIoClose solved the problem.
Back to top
View user's profile Send private message
mc



Joined: 12 Jan 2005
Posts: 212
Location: Linköping

PostPosted: Sun Jul 17, 2005 10:20 pm    Post subject: Reply with quote

Committed. Thanks.
_________________
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
Back to top
View user's profile Send private message
squiggle



Joined: 26 Jun 2005
Posts: 9

PostPosted: Mon Jul 18, 2005 9:54 am    Post subject: Reply with quote

no problem.
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