Hi guys,
Is there any word on an RTC/TSC function?
i saw a stub for an sce one, but i tried it out and only managed to get a lot of crashes, has anyone else had any luck with that?
I've also seen some people using clock().. I started using that myself and using this frequency: CLOCKS_PER_SEC * 1000
which seems scarily dodgey... can anyone guarantee thats accurate? (i'm getting some strange timing bugs, but they could also just as easilly be my own code.. just thought i'd check the obvious first)
Secondly,
I was trying to integrate the USB demo into my game for easy development... but its giving me a bit of grief..
before the app launches, it calls this: pspSdkInstallNoDeviceCheckPatch() which seems to lock up for me.. dosent seem to crash, just sits there for a jolly long time...
what is that supposed to do? how does it help the USB demo?
I notice that without it, the rest runs without crashing, but the USB device never gets initialised or activated...
i'm not entirely sure what the 'pspDebugInstallKprintfHandler' call does either, but it didnt seem important and i left it out.. didnt help when i put it in there..
Sorry this is a pretty silly question, just wondering about other people's experience integrating the USB demo... i'm running 1.5 too.. dont know if that makes any difference, since that function says it patches something at runtime, which sounds sus..
2 Questions....
Well i've narrowed it down and it was really quite unexpected...
It seems to be one of these options:
-O2 -G0 -Wall -fno-exceptions -fno-rtti
I didnt have any of those in my app but they were in the sample makefile.. I added them all, and it worked fine...
I dont have time to narrow it down further, I have to go..
But perhaps anyone else can suggest which one its likely to be and why?
Just thought it was worth mentioning incase anyone else finds themselves with the same problem...
Thx again guys!
It seems to be one of these options:
-O2 -G0 -Wall -fno-exceptions -fno-rtti
I didnt have any of those in my app but they were in the sample makefile.. I added them all, and it worked fine...
I dont have time to narrow it down further, I have to go..
But perhaps anyone else can suggest which one its likely to be and why?
Just thought it was worth mentioning incase anyone else finds themselves with the same problem...
Thx again guys!