mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-07 15:44:59 -06: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)
|
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();
|
std::string path = std::filesystem::path(passed_path).string();
|
||||||
|
|
||||||
size_t start = 0;
|
size_t start = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user