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
commit cd9a7db4c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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};
}