From 3b6a4ab12fbcd0ff5cc5407da2257e95db9bcb6f Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Tue, 21 Feb 2023 23:19:18 -0700 Subject: [PATCH] ncm: fix copy/paste error in switch case --- .../source/ncm/ncm_content_meta_database_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libstratosphere/source/ncm/ncm_content_meta_database_impl.cpp b/libraries/libstratosphere/source/ncm/ncm_content_meta_database_impl.cpp index 279130f4a..8b84f9114 100644 --- a/libraries/libstratosphere/source/ncm/ncm_content_meta_database_impl.cpp +++ b/libraries/libstratosphere/source/ncm/ncm_content_meta_database_impl.cpp @@ -294,7 +294,7 @@ namespace ams::ncm { case ContentMetaType::Application: out_patch_id.SetValue(reader.GetExtendedHeader()->patch_id.value); break; - case ContentMetaType::Patch: + case ContentMetaType::AddOnContent: R_UNLESS(reader.GetExtendedHeaderSize() == sizeof(AddOnContentMetaExtendedHeader), ncm::ResultInvalidAddOnContentMetaExtendedHeader()); out_patch_id.SetValue(reader.GetExtendedHeader()->data_patch_id.value); break;