Commit 5fc83931 authored by ameerj's avatar ameerj
Browse files

astc_decoder: Fix LDR CEM1 endpoint calculation



Per the spec, L1 is clamped to the value 0xff if it is greater than 0xff. An oversight caused us to take the maximum of L1 and 0xff, rather than the minimum.

Huge thanks to wwylele for finding this.

Co-Authored-By: default avatarWeiyi Wang <wwylele@gmail.com>
parent f9bfeaa2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment