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 

newlib opened files patch

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



Joined: 25 Jan 2005
Posts: 6

PostPosted: Sat Aug 23, 2008 12:17 am    Post subject: newlib opened files patch Reply with quote

I am currently writing a patch to allow more than the psp kernels maximum number of opened files to ease porting (I'm working on exult, everything running up to the point where I run into the files problem).

My current approach is wrapping the file functions (open, close, read, write, seek), to check if the passed filedescriptor is valid, and if not reopen it (after closing another).

I'm still busy writing some sort of test program to verify its function, but it *seems* to work (exult crashes in some sdl thread, but reading works as far as i can tell).

I will try this weekend to get the stuff into a state where it works verifyable, and post it here afterwards.
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