Skip to content
Snippets Groups Projects
Unverified Commit 04afcfe1 authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #7976 from BytesGalore/master

loader: log the type of mismatching file-extension
parents 764e5c7f 5784aa10
No related branches found
No related tags found
No related merge requests found
......@@ -261,7 +261,8 @@ std::unique_ptr<AppLoader> GetLoader(Core::System& system, FileSys::VirtualFile
// Special case: 00 is either a NCA or NAX.
if (type != filename_type && !(file->GetName() == "00" && type == FileType::NAX)) {
LOG_WARNING(Loader, "File {} has a different type than its extension.", file->GetName());
LOG_WARNING(Loader, "File {} has a different type ({}) than its extension.",
file->GetName(), GetFileTypeString(type));
if (FileType::Unknown == type) {
type = filename_type;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment