Parcourir la source

file_sys/registered_cache: Improve missing metadata error

This can happen when installing NSPs too, not just XCIs.
Bakugo il y a 7 ans
Parent
commit
c72ef5f405
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/core/file_sys/registered_cache.cpp

+ 2 - 2
src/core/file_sys/registered_cache.cpp

@@ -397,8 +397,8 @@ InstallResult RegisteredCache::InstallEntry(const NSP& nsp, bool overwrite_if_ex
     });
 
     if (meta_iter == ncas.end()) {
-        LOG_ERROR(Loader, "The XCI you are attempting to install does not have a metadata NCA and "
-                          "is therefore malformed. Double check your encryption keys.");
+        LOG_ERROR(Loader, "The file you are attempting to install does not have a metadata NCA and "
+                          "is therefore malformed. Check your encryption keys.");
         return InstallResult::ErrorMetaFailed;
     }