diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-03 07:50:59 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-03 07:51:01 +0200 |
commit | 02841052aa5e2126089268f465858fff379577d8 (patch) | |
tree | f739454355d27fc8d65d430289f94a0b92c73bd4 /src/core/file_sys | |
parent | submission_package: Ensure the 'extracted' member variable is always initialized (diff) | |
download | yuzu-02841052aa5e2126089268f465858fff379577d8.tar yuzu-02841052aa5e2126089268f465858fff379577d8.tar.gz yuzu-02841052aa5e2126089268f465858fff379577d8.tar.bz2 yuzu-02841052aa5e2126089268f465858fff379577d8.tar.lz yuzu-02841052aa5e2126089268f465858fff379577d8.tar.xz yuzu-02841052aa5e2126089268f465858fff379577d8.tar.zst yuzu-02841052aa5e2126089268f465858fff379577d8.zip |
Diffstat (limited to 'src/core/file_sys')
-rw-r--r-- | src/core/file_sys/submission_package.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/submission_package.cpp b/src/core/file_sys/submission_package.cpp index d39b79edd..c3848e826 100644 --- a/src/core/file_sys/submission_package.cpp +++ b/src/core/file_sys/submission_package.cpp @@ -207,7 +207,7 @@ void NSP::InitializeExeFSAndRomFS(const std::vector<VirtualFile>& files) { exefs = pfs; const auto romfs_iter = std::find_if(files.begin(), files.end(), [](const VirtualFile& file) { - return file->GetName().find(".romfs") != std::string::npos; + return file->GetName().rfind(".romfs") != std::string::npos; }); if (romfs_iter == files.end()) { |