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 

Calling vsprintf() from IOP

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



Joined: 06 Sep 2004
Posts: 120
Location: Germany

PostPosted: Fri May 11, 2007 6:12 am    Post subject: Calling vsprintf() from IOP Reply with quote

I've encountered a problem when calling the vsprintf() function from the IOP. I just can't get it to work.

I'm using the function correctly, the same code works fine on the EE side. I think the problem is related to how the IOP handles threads.

This code, for example, assumes that vsprintf() fails:
http://svn.ps2dev.org/filedetails.php?repname=ps2&path=%2Ftrunk%2Fps2debug%2Fps2debug.c&rev=0&sc=0
Is there anything I can do to use vsprintf() nevertheless?

Thank you.
Back to top
View user's profile Send private message
chp



Joined: 23 Jun 2004
Posts: 313

PostPosted: Fri May 11, 2007 7:30 am    Post subject: Reply with quote

I know that sprintf() failed as well when I attempted to use it 2 years ago, I would guess that it's broken in the rom. Including your own version would be the easy way out, debugging the broken function is the hard way.
_________________
GE Dominator
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 -> PS2 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