From bd77aae7d006012e560113528f60330aa457bf0a Mon Sep 17 00:00:00 2001 From: Gliniak Date: Sat, 6 Jul 2024 13:02:57 +0200 Subject: [PATCH] [XAM] Fixed issue with looking for double .header suffix --- src/xenia/kernel/xam/content_manager.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xenia/kernel/xam/content_manager.cc b/src/xenia/kernel/xam/content_manager.cc index 28ef94ac3..6f0322fbb 100644 --- a/src/xenia/kernel/xam/content_manager.cc +++ b/src/xenia/kernel/xam/content_manager.cc @@ -142,9 +142,9 @@ std::vector ContentManager::ListContent( } XCONTENT_AGGREGATE_DATA content_data; - if (XSUCCEEDED(ReadContentHeaderFile( - xe::path_to_utf8(file_info.name) + ".header", content_type, - content_data, title_id))) { + if (XSUCCEEDED(ReadContentHeaderFile(xe::path_to_utf8(file_info.name), + content_type, content_data, + title_id))) { result.emplace_back(std::move(content_data)); } else { content_data.device_id = device_id;