Page 1 of 1

Calling vsprintf() from IOP

Posted: Fri May 11, 2007 6:12 am
by misfire
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?r ... rev=0&sc=0
Is there anything I can do to use vsprintf() nevertheless?

Thank you.

Posted: Fri May 11, 2007 7:30 am
by chp
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.