Add some kernal module

Find in bugz Homebrew
sysclib_memset change to WrapU_UII
Correct Memory check in sysclib_memset
Merge pull request #6098 from sum2012/kernal

Add some kernal module
Revert "Apply hleDelayResult to sceMpegAvcCsc"

Fix video 's screen dislocation in Bleach heat of soul 6
#5535
Fix nonblocking ptpConnect on Windows

According to
http://msdn.microsoft.com/en-us/library/windows/desktop/ms737625%28v=vs.85%29.aspx
"[...] it is not recommended that applications use multiple calls to
connect to detect connection completion.  If they do, they must be
prepared to handle WSAEINVAL and WSAEWOULDBLOCK error values the same
way that they handle WSAEALREADY, to assure robust operation."

Ideally socket->state should be set to a different state and select()
used to poll sockets until state can be switched to closed or
established.  Changes to socket->state are visible to games as so
probably should not be done without testing.
Temp disable SCE_UTILITY_STATUS_SCREENSHOT_UNKNOWN
Fix minor typo in comment.
Skip a bit of work when syncing video/audio.
scePsmfPlayerGetVideoData() writes every frame.

Thought it didn't due to dcache not being invalidated.  Fixes #6085.
Prevent a crash on bogus data in psmfplayer.
Add a delay when setting the psmfplayer file.

This roughly matches the delay that occurs on a real PSP, during which
other threads can run.
Check scePsmfPlayerStart() params like the PSP.

It doesn't care if there's actually audio data here.
Delay scePsmfPlayerStart() when seeking.

It seems to only delay when it was already playing.
Validate and report initial psmfplayer playMode.

We only support play and pause, but they're the only ones I've seen.
Don't allow seeking without an EPmap.
Merge pull request #6102 from sum2012/screenshot

Temp disable SCE_UTILITY_STATUS_SCREENSHOT_UNKNOWN
Android: Switch dpad default to use HAT X/Y +/- instead of "dpad", as documented.

Add a simple "autoconfigure" facility for input devices, that lets the user choose
if several are connected.

Can be expanded in the future to provide custom default mapppings for various devices as long as we manage to identify them.

Ideally, key mappings should be unique per device but they aren't yet.
Forgot to make translatable
Merge pull request #6104 from unknownbrackets/psmfplayer

Recopy the video in between frames in psmfplayer, other minor fixes