Calling vsprintf() from IOP

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
misfire
Posts: 110
Joined: Mon Sep 06, 2004 7:53 am
Location: Germany

Calling vsprintf() from IOP

Post 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.
chp
Posts: 313
Joined: Wed Jun 23, 2004 7:16 am

Post 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.
GE Dominator
Post Reply