IOS/FS: Display the invalid path in the ASSERT in BuildFilename().

This commit is contained in:
Admiral H. Curtiss 2024-02-18 20:06:32 +01:00
parent 0157166940
commit 638808c944
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
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};
}