VERY experimental Nintendo Switch 2 emulator
C++
registration: Add Data_Unknown5 NCAContentType
Zach Hilman132d82db7d5b
diff --git a/src/core/file_sys/content_archive.h b/src/core/file_sys/content_archive.hindex b82e65ad55..4b74c54ec1 100644--- a/src/core/file_sys/content_archive.h+++ b/src/core/file_sys/content_archive.h@@ -27,6 +27,7 @@ enum class NCAContentType : u8 {Control = 2,Manual = 3,Data = 4,+ Data_Unknown5 = 5, ///< Seems to be used on some system archives};enum class NCASectionCryptoType : u8 {diff --git a/src/core/file_sys/registered_cache.cpp b/src/core/file_sys/registered_cache.cppindex b239c9e48a..e90dc66953 100644--- a/src/core/file_sys/registered_cache.cpp+++ b/src/core/file_sys/registered_cache.cpp@@ -77,7 +77,7 @@ static ContentRecordType GetCRTypeFromNCAType(NCAContentType type) {case NCAContentType::Control:return ContentRecordType::Control;case NCAContentType::Data:- case static_cast<NCAContentType>(0x05): ///< Seems to be used on some system archives+ case NCAContentType::Data_Unknown5:return ContentRecordType::Data;case NCAContentType::Manual:// TODO(DarkLordZach): Peek at NCA contents to differentiate Manual and Legal.diff --git a/src/core/file_sys/romfs_factory.cpp b/src/core/file_sys/romfs_factory.cppindex 7ba4042ca7..1b3824a61b 100644--- a/src/core/file_sys/romfs_factory.cpp+++ b/src/core/file_sys/romfs_factory.cpp@@ -52,7 +52,7 @@ ResultVal<VirtualFile> RomFSFactory::Open(u64 title_id, StorageId storage, Contereturn MakeResult<VirtualFile>(romfs);}default:- UNIMPLEMENTED_MSG("Unimplmented storage_id={:02X}", static_cast<u8>(storage));+ UNIMPLEMENTED_MSG("Unimplemented storage_id={:02X}", static_cast<u8>(storage));}}