Merge pull request #12589 from AdmiralCurtiss/ios-fs-logs

IOS/FS: Display the invalid path in the ASSERT in BuildFilename().
This commit is contained in:
Mai
2024-02-18 17:11:53 -05:00
committed by GitHub

View File

@ -46,7 +46,7 @@ HostFileSystem::HostFilename HostFileSystem::BuildFilename(const std::string& wi
if (wii_path.compare(0, 1, "/") == 0)
return HostFilename{m_root_path + Common::EscapePath(wii_path), false};
ASSERT(false);
ASSERT_MSG(IOS_FS, false, "Invalid Wii path '{}' given to BuildFilename()", wii_path);
return HostFilename{m_root_path, false};
}