Set predict_nr = 0 when predict_nr greater than VAG array length
Correct exit crash
Save directory of last game
Make fullscreen works
Fix a stupid typo duplicating log messages.
Use memcpy for console log to avoid terminators.
Merge pull request #555 from unknownbrackets/console-th

Console thread fix
Merge pull request #554 from Xele02/qt_work

[Qt-desktop] Fullscreen and small features
Fix a console log crash when color is on the edge.
Merge branch 'console-th'
Fix the emitter assert.
Merge pull request #556 from unknownbrackets/jit-minor

Fix the emitter assert for MOVSX
Merge pull request #550 from raven02/master

Set predict_nr = 0 when predict_nr greater than VAG array length
Properly jit the break instruction.

Otherwise, it just keeps on going past it.
We never want to hit this anyway, but it's good to know if we do.
Merge pull request #557 from unknownbrackets/jit-minor

Properly jit the break instruction
sceAudioOutputPannedBlocking() returns # samples.

Or seems to, anyway.  This fixes things like:

stdout: SCREAM: Lib wave didn't take all of our last submit (took 0 of
2048)!
Allow sceAudioChReserve() to choose a channel.

Not just only -1.
Track Atrac as a map and associate data.
Return saner fake sample sizes in atrac.
Keep track of the atrac buffer size and return it.
More correctly lie that atrac decoding finished.