Add a safety check for non-rtti.
Improve some functions for scePsmfPlayer.

Fix video end issue for Mahou Shoujo Nanoha A's Portable: The Gears of
Destiny
Merge pull request #2170 from oioitff/mpeg-fix

Improve some functions for scePsmfPlayer.
Merge pull request #2169 from unknownbrackets/rtti

Add a safety check for non-rtti
Don't delay psmf video when the audio has ended.

Lunar shows logos without any audio, which means the audio pts is always
0.  That meant it delayed more each frame...
Merge pull request #2171 from unknownbrackets/psmfplayer

Don't delay psmf video when the audio has ended
Improve mpeg timestamp.

Read 6 bytes timestamp instead.
Merge pull request #2177 from oioitff/mpeg-fix

Improve mpeg timestamp.
Shortcut IdentifyFile (which is now used by GameInfoCache) by trusting the file extensions.
Add 36x36 icon for android. Fixes #2168
Return correct errors on terminating thread.

Fixes Final Fantasy 4 hangs when playing videos a second time.
Correct envelope scaling in sas mixing.

Sound effects seem a bit loud, but this matches what JPCSP does and I've
added comments based on my understanding of it.  It makes sense.

This makes all the sounds that never get muted when the envelope hits 0 go
away.  Hurray.

Thanks to help from @i1x.
Validate parameters in sceSasInit().
Don't restart release on double keyoff.

Fixes Kingdom Hearts bug, #2066.
Delay in sceSasCore per tests.

Not sure if this fixes anything, but scheduling issues can be tricky.
Revert #1974, the other fixes are better.

This is no longer needed for games I have, and it breaks Final Fantasy
Tactics' sound effects.

Looking at JPCSP for insight, I saw that it re-enables loops if you set a
voice even with a different address (I think?) but that seems strange.
Merge pull request #2184 from unknownbrackets/thread-funcs

Return correct errors on terminating thread
Merge pull request #2185 from unknownbrackets/sas-minor

Correct envelope scaling in sas mixing
Merge pull request #2186 from unknownbrackets/sas-minor2

Add some error handling in sceSas, delay sceSasCore()
Add a better signal for VRAM copies in the GPU.