mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-22 22:01:06 -06:00
temp. hack preventing evil out-of-bounds write
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user