summaryrefslogtreecommitdiff
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-10-03 01:50:59 -0400
committerGravatar Lioncash2018-10-03 01:51:01 -0400
commit02841052aa5e2126089268f465858fff379577d8 (patch)
treef739454355d27fc8d65d430289f94a0b92c73bd4 /src/common/string_util.cpp
parentsubmission_package: Ensure the 'extracted' member variable is always initialized (diff)
downloadyuzu-02841052aa5e2126089268f465858fff379577d8.tar.gz
yuzu-02841052aa5e2126089268f465858fff379577d8.tar.xz
yuzu-02841052aa5e2126089268f465858fff379577d8.zip
submission_package: Use std::string's rfind() when looking for the extension in InitializeExeFSAndRomFS()
When searching for a file extension, it's generally preferable to begin the search at the end of the string rather than the beginning, as the whole string isn't going to be walked just to check for something at the end of it.
Diffstat (limited to 'src/common/string_util.cpp')
0 files changed, 0 insertions, 0 deletions