GLES3: Try to re-enable PSP-based mipmapping generation
Set amask based on ReplaceAlphaWithStencil()
Regroup Stencil Testing
ReplaceAlphaWithStencil() has been checked for gstate.isStencilTestEnabled()
Implement ioctl command 0x01f30003.

Wonder if this will fix anything, it was silently not reading before.
Implement ioctl command 0x01f100a6.
Correct result for sceIoRead type ioctls.
Implement ioctl command 0x01d20001.
Add Ioctl() to IFileSystem, cleaner.
Implement ioctl command 0x01020002.
Improve sceIoGetDevType() return values.

At least for block/file devices.  Can't find a way to get an alias.
Remove extraneous lookup.
Access font after the null check in sceFontGetCharImageRect, not before.
Fix a typo in an if statement comparison in function sceNetAdhocPdpDelete. This was likely intended to check against 'sock', not 'socket'. On Windows, initially 'socket' referred to a function in the WinSock2.h header file. Naturally, this will alway be non-null, which further leads to the conclusion that this was the intended comparison.

Also updated the commented out sections accordingly.
Correctly identify a blockwise memcpy.

Oops, I didn't realize this one went in blocks of 16.
Merge pull request #4927 from unknownbrackets/replace-funcs

Correctly identify a blockwise memcpy
Merge pull request #4923 from lioncash/master

Fix possible null ptr derefs in sceFont.cpp. Also fix typo in if statement comparison in sceNetAdhoc.cpp
Merge pull request #4887 from unknownbrackets/io-minor

Implement a few more ioctl commands
Prevent replacing an acosf variant.

There's another func that looks identical to this one except its jal in
VC2.  Replacing it with acosf() breaks fog and targetting.
Save/restore local file handles and seek positions