summaryrefslogtreecommitdiff
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-07-19 12:40:06 -0400
committerGravatar Lioncash2018-07-19 12:43:21 -0400
commit9b22f856c2f644af721568a6f6b23bd66e7beb93 (patch)
tree841c4a2ad026152dcf1571f3bab77860567da796 /src/common/string_util.cpp
parentMerge pull request #699 from lioncash/vfs (diff)
downloadyuzu-9b22f856c2f644af721568a6f6b23bd66e7beb93.tar.gz
yuzu-9b22f856c2f644af721568a6f6b23bd66e7beb93.tar.xz
yuzu-9b22f856c2f644af721568a6f6b23bd66e7beb93.zip
loader/nso: Check if read succeeded in IdentifyFile() before checking magic value
We should always assume the filesystem is volatile and check each IO operation. While we're at it reorganize checks so that early-out errors are near one another.
Diffstat (limited to 'src/common/string_util.cpp')
0 files changed, 0 insertions, 0 deletions