diff --git a/Core/FileSystems/ISOFileSystem.cpp b/Core/FileSystems/ISOFileSystem.cpp index 41915a1a2b..466ce21562 100644 --- a/Core/FileSystems/ISOFileSystem.cpp +++ b/Core/FileSystems/ISOFileSystem.cpp @@ -144,7 +144,6 @@ ISOFileSystem::ISOFileSystem(IHandleAllocator *_hAlloc, BlockDevice *_blockDevic if (pos != endPos) restrictTree.push_back(_restrictPath.substr(pos, endPos)); pos = _restrictPath.find_first_not_of('/', endPos); - _restrictPath.erase(0, pos); } }