mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-01 19:13:54 +01:00
ISO: Add empty path check to iso_archive::retrieve
This commit is contained in:
parent
095f433f8e
commit
38daf8d325
|
|
@ -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…
Reference in a new issue