summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2011-12-01 02:40:58 +0100
committerMaarten ter Huurne <maarten@treewalker.org>2011-12-01 02:46:59 +0100
commit98981cc72486657bc1e91b2c1e86a0f14d63e23f (patch)
tree953e7a10b41b7df115e4d6f2ba89da81bcf83edb /Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h
parentcda94290f533643729a8e55c583b54b6d7184b8b (diff)
Fixed EFB cache index computations in OpenGL renderer.
The previous computation was very likely to go out of array bounds, which could result in crashes on EFB access. Also, the cache size was rounded down instead of up. This is a problem since EFB_HEIGHT (528) is not a multiple of EFB_CACHE_RECT_SIZE (64).
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.h')
0 files changed, 0 insertions, 0 deletions