patch for prxdecrypt sample

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
squiggle
Posts: 9
Joined: Sun Jun 26, 2005 8:33 pm

patch for prxdecrypt sample

Post by squiggle »

Code: Select all

--- 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.
User avatar
mc
Posts: 211
Joined: Wed Jan 12, 2005 7:32 am
Location: Linköping

Post by mc »

Committed. Thanks.
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
squiggle
Posts: 9
Joined: Sun Jun 26, 2005 8:33 pm

Post by squiggle »

no problem.
Post Reply