Save the current frame's status to initAddr
Reschedule instead of switching to delayed threads.

This will hopefully take care of #5263, and might fix other issues too.
If a thread goes into a wait, it may reschedule right into an interrupt.

In this case, it would've been switched back to, and woken up early.
Merge pull request #5268 from unknownbrackets/intr-fix

Reschedule instead of switching to delayed threads
Merge pull request #5245 from raven02/patch-8

Saving the current frame's status to initAddr
Add sceMpegRingbufferQueryMemSize and sceMpegQueryMemSize log information
Merge pull request #5271 from sum2012/patch-4

Add sceMpegRingbufferQueryMemSize and sceMpegQueryMemSize log information
Remove redundant break in MIPSAsm.cpp.
Merge pull request #5274 from thedax/removeRedundantBreak

Remove redundant break in MIPSAsm.cpp.
Correct return values, validation in sdkver funcs.

I am unable to reproduce any validation, so these changes make it match
tests on a PSP.  But then, maybe it's my custom firmware getting in the
way?  Added reporting to see the effect better.
Spelling fix.
Match test in sceUmdUnRegisterUMDCallBack().

Seems that 0 is the unregistered value based on how it reacts to that
param, and it should return 0 for success in newer sdk versions.
Merge pull request #5285 from unknownbrackets/umd-minor

Match test in sceUmdUnRegisterUMDCallBack()
Merge pull request #5283 from unknownbrackets/sdkver

Correct return values, validation in sdkver funcs
Port to SDL2

Also add a -DSDL flag to allow #ifdef SDL sections.
SDL2 is found via pkg-config.

This may not build on first try with parallel make,
but works okay with -j1.
Pass the version string with the NativeApp info