| View previous topic :: View next topic |
| Author |
Message |
misfire
Joined: 06 Sep 2004 Posts: 120 Location: Germany
|
Posted: Fri May 11, 2007 6:12 am Post subject: Calling vsprintf() from IOP |
|
|
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 |
|
 |
chp
Joined: 23 Jun 2004 Posts: 313
|
Posted: Fri May 11, 2007 7:30 am Post subject: |
|
|
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 |
|
 |
|