diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-03-04 15:34:07 +0100 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2017-03-04 15:34:07 +0100 |
commit | 8c7b7e23273dc594071c0d7a7db7a6294d6a94c9 (patch) | |
tree | 870e44ce16c505c973bc686cade7d1b00f18df82 /GPU3D.cpp | |
parent | f8770dc8fea7d22319d17f2addd82dd4c9574ddc (diff) |
temp. hack preventing evil out-of-bounds write
Diffstat (limited to 'GPU3D.cpp')
-rw-r--r-- | GPU3D.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -47,6 +47,8 @@ // Z-buffering mode: val = ((Z * 0x800 * 0x1000) / W) + 0x7FFCFF // W-buffering mode: val = W - 0x1FF // TODO: confirm W, because it's weird +// ... nope, that shit above isn't right +// also, the formula for the clear depth on GBAtek appears to be wrong namespace GPU3D |