summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2015-07-06 15:41:37 +0200
committerJosJuice <josjuice@gmail.com>2015-07-06 15:41:37 +0200
commit9018b546c71932a46a85222a3de7a989184361ec (patch)
tree560440ad7529b15db02257e11c0df011601bc49d /Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
parent8a50dc857bbfc86c41706a6f48770a6f78285628 (diff)
WbfsBlob: Don't enter an infinite loop when reading beyond end of disc
read_size remained 0 when the "Read beyond end of disc" error occurs, which made the while (nbytes) loop never end. As a fix, SeekToCluster now explicitly sets available to 0 when the error occurs, and Read checks for it.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.h')
0 files changed, 0 insertions, 0 deletions