aboutsummaryrefslogtreecommitdiff
path: root/GPU3D.cpp
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-03-04 15:34:07 +0100
committerStapleButter <thetotalworm@gmail.com>2017-03-04 15:34:07 +0100
commit8c7b7e23273dc594071c0d7a7db7a6294d6a94c9 (patch)
tree870e44ce16c505c973bc686cade7d1b00f18df82 /GPU3D.cpp
parentf8770dc8fea7d22319d17f2addd82dd4c9574ddc (diff)
temp. hack preventing evil out-of-bounds write
Diffstat (limited to 'GPU3D.cpp')
-rw-r--r--GPU3D.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/GPU3D.cpp b/GPU3D.cpp
index e713252..7c1faae 100644
--- a/GPU3D.cpp
+++ b/GPU3D.cpp
@@ -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