summaryrefslogtreecommitdiff
path: root/src/common/memory_detect.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-04-25 22:42:33 -0300
committerGravatar ReinUsesLisp2020-04-25 22:57:54 -0300
commit2a96bea6a7efd9efaaa8d1d72f1eb8ca27cb81f8 (patch)
tree6cd0335814b5dacb81ac60d1ffba9caa22164e67 /src/common/memory_detect.cpp
parentshader/arithmetic_integer: Implement IADD.X (diff)
downloadyuzu-2a96bea6a7efd9efaaa8d1d72f1eb8ca27cb81f8.tar.gz
yuzu-2a96bea6a7efd9efaaa8d1d72f1eb8ca27cb81f8.tar.xz
yuzu-2a96bea6a7efd9efaaa8d1d72f1eb8ca27cb81f8.zip
shader/arithmetic_integer: Change IAdd to UAdd to avoid signed overflow
Signed integer addition overflow might be undefined behavior. It's free to change operations to UAdd and use unsigned integers to avoid potential bugs.
Diffstat (limited to 'src/common/memory_detect.cpp')
0 files changed, 0 insertions, 0 deletions