Page 1 of 1
ps2sdk undefined funcs ..
Posted: Sat Aug 21, 2004 2:40 am
by DickyDick
just some undefined things in the ps2sdk..
sscanf
time
where can i find these?
Or do I have to make them myself?
I know what they are for, but perhaps there is a work-a-round.
Posted: Sat Aug 21, 2004 3:50 am
by pixel
"ps2sdk" doesn't provide a full libc. Therefore, *scanf doesn't exist at all. If you REALLY need that, please have a look at newlib, which I however wouldn't trust.
For the time, maybe there's a syscall somewhere, I don't know. Well, there may be things missing, since everything was not completely reversed.
Posted: Sat Aug 21, 2004 6:37 am
by Drakonite
pixel wrote:For the time, maybe there's a syscall somewhere, I don't know. Well, there may be things missing, since everything was not completely reversed.
You can get the time, but it takes a bit of work. In the end you are sending some commands to the cdvd controller... I'm not sure if there is anything currently in ps2sdk to do it or not.