mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-05-07 13:37:46 +00:00
ISO: Add empty path check to iso_archive::retrieve
This commit is contained in:
parent
095f433f8e
commit
38daf8d325
1 changed files with 2 additions and 0 deletions
|
|
@ -263,6 +263,8 @@ iso_archive::iso_archive(const std::string& path)
|
|||
|
||||
iso_fs_node* iso_archive::retrieve(const std::string& passed_path)
|
||||
{
|
||||
if (passed_path.empty()) return nullptr;
|
||||
|
||||
std::string path = std::filesystem::path(passed_path).string();
|
||||
|
||||
size_t start = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue