summaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.cpp
diff options
context:
space:
mode:
authorChloe Marcec <dmarcecguzman@gmail.com>2021-02-07 23:52:56 +1100
committerChloe Marcec <dmarcecguzman@gmail.com>2021-02-07 23:52:56 +1100
commit9d5a56a40b6f25548ebc364c590ab891c9bbe8ba (patch)
tree2b65ab7c6470520175317f99a0b93adbcc2cfe97 /src/input_common/sdl/sdl_impl.cpp
parent4a01812ebe3eb7fa593105cf596690731c70a1a9 (diff)
lm: Fix ReadLeb128
Fixes assertion on Bloodstained Ritual of the Night. We would over read sometimes, this is fixed by checking if the top bit is set in the first iteration. We also lock the loop off to be only the max size of the type we can fit. Finally we changed an incorrect print of "DEBUG" to "TRACE" to reflect the proper log severity
Diffstat (limited to 'src/input_common/sdl/sdl_impl.cpp')
0 files changed, 0 insertions, 0 deletions