From fa8e2ee7882513aad3fd3b73e058ada430567cd9 Mon Sep 17 00:00:00 2001 From: gibbed Date: Mon, 28 Jun 2021 12:23:16 -0500 Subject: [PATCH] [VFS] Suppress error msg for ShaderDumpxe:\CB. [VFS] Suppress error message for ShaderDumpxe:\CompareBackends. --- src/xenia/vfs/virtual_file_system.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/xenia/vfs/virtual_file_system.cc b/src/xenia/vfs/virtual_file_system.cc index c0f888318..01f4761e6 100644 --- a/src/xenia/vfs/virtual_file_system.cc +++ b/src/xenia/vfs/virtual_file_system.cc @@ -117,7 +117,11 @@ Entry* VirtualFileSystem::ResolvePath(const std::string_view path) { return xe::utf8::starts_with(normalized_path, d->mount_path()); }); if (it == devices_.cend()) { - XELOGE("ResolvePath({}) failed - device not found", path); + // Supress logging the error for ShaderDumpxe:\CompareBackEnds as this is + // not an actual problem nor something we care about. + if (path != "ShaderDumpxe:\\CompareBackEnds") { + XELOGE("ResolvePath({}) failed - device not found", path); + } return nullptr; }