From 638808c94486ee98e7598ff55a098e8c64bb9da5 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Sun, 18 Feb 2024 20:06:32 +0100 Subject: [PATCH] IOS/FS: Display the invalid path in the ASSERT in BuildFilename(). --- Source/Core/Core/IOS/FS/HostBackend/FS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/IOS/FS/HostBackend/FS.cpp b/Source/Core/Core/IOS/FS/HostBackend/FS.cpp index 503a8c4607..699e333db1 100644 --- a/Source/Core/Core/IOS/FS/HostBackend/FS.cpp +++ b/Source/Core/Core/IOS/FS/HostBackend/FS.cpp @@ -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}; }