mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Merge pull request #13859 from Tilka/root_path_assert
IOS/FS: add safety assert
This commit is contained in:
@@ -43,6 +43,8 @@ HostFileSystem::HostFilename HostFileSystem::BuildFilename(const std::string& wi
|
||||
}
|
||||
}
|
||||
|
||||
ASSERT(!m_root_path.empty());
|
||||
|
||||
if (wii_path.starts_with("/"))
|
||||
return HostFilename{m_root_path + Common::EscapePath(wii_path), false};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user