hrydgard/ppsspp — pull request #7069 by level99procrastinator (2014-11-08 14:15:04+00:00)
Title: Workaround for graphics glitch in Phantasy Star Portable 2

In Phantasy Star Portable 2, depth range sometimes goes negative and is clamped by `glDepthRange` to 0, causing graphics clipping glitch (issue #1788). This hack modifies the projection matrix to work around it.

A checkbox is added under Hack setting to toggle this.

Hack off
![a0](https://cloud.githubusercontent.com/assets/9575661/4964325/afe64a3a-6792-11e4-9ee0-89358f0851d6.png)

Hack on
![a1](https://cloud.githubusercontent.com/assets/9575661/4964330/c37a5b0e-6792-11e4-9963-bcbe43fc2a50.png)