This atrac logging hack isn't needed now.
Fix atrac looping, oops.
Always return <= max samples for atrac.
Approximate atrac as compressing to 1/3 the size.
Properly set the finish flag at the end.
Add few stubs seen from Dragon Ball Z Tenkaichi Tag Team
Merge pull request #580 from mikusp/sceKernelTimeWrap

Wrap sceKernelTime functions
Merge pull request #583 from unknownbrackets/audio-minor

Atrac finish flag fix
Disable non-through RotateUV, according to Raven02 it seems it's not needed although I have my doubts :)
Another bites the dust (blacklisted modules)
Usec2Sysclock fixes
Merge pull request #582 from raven02/master

Add few new stubs seen from Dragon Ball Z Tenkaichi Tag Team
Build fix
Merge pull request #585 from raven02/master

Build fix
Add a priority-indexed ready queue (not used yet.)

Also, not actually only ready threads yet.
Make the new queue only have ready threads.
Use the new ready queue for thread switching.
Don't log idle => idle context switches.
Fix alarm test by not interrupting when disabled.

vblank was interrupting/rescheduling when interrupts were disabled.
That's bad.
Merge pull request #586 from unknownbrackets/threadqueue

Implement a proper thread ready queue