Merge pull request #6834 from achurch/master

Ensure that sceIoOpen() fails on directories.
Set NSPrincipalClass to get retina widget rendering on OS X
Merge pull request #6835 from PGGB/principal_class

Set NSPrincipalClass to get retina widget rendering on OS X
Merge pull request #6836 from achurch/master

Brandish hook: read framebuffer index offset from instruction stream, drop memcpy()
Merge pull request #6837 from achurch/master

Read lw offset as a signed value.
Replace function for Zero no Kiseki and Ao no Kiseki
Merge pull request #6839 from daniel229/replace_func

Replace function for Zero no Kiseki and Ao no Kiseki