mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-23 04:12:02 +00:00
ncm: fix copy/paste error in switch case
This commit is contained in:
parent
6462101b6f
commit
59b518783d
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ namespace ams::ncm {
|
||||||
case ContentMetaType::Application:
|
case ContentMetaType::Application:
|
||||||
out_patch_id.SetValue(reader.GetExtendedHeader<ApplicationMetaExtendedHeader>()->patch_id.value);
|
out_patch_id.SetValue(reader.GetExtendedHeader<ApplicationMetaExtendedHeader>()->patch_id.value);
|
||||||
break;
|
break;
|
||||||
case ContentMetaType::Patch:
|
case ContentMetaType::AddOnContent:
|
||||||
R_UNLESS(reader.GetExtendedHeaderSize() == sizeof(AddOnContentMetaExtendedHeader), ncm::ResultInvalidAddOnContentMetaExtendedHeader());
|
R_UNLESS(reader.GetExtendedHeaderSize() == sizeof(AddOnContentMetaExtendedHeader), ncm::ResultInvalidAddOnContentMetaExtendedHeader());
|
||||||
out_patch_id.SetValue(reader.GetExtendedHeader<AddOnContentMetaExtendedHeader>()->data_patch_id.value);
|
out_patch_id.SetValue(reader.GetExtendedHeader<AddOnContentMetaExtendedHeader>()->data_patch_id.value);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue