switchbrew / libnx

Library for Switch Homebrew

Home Page:https://switchbrew.github.io/libnx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NcmContentMetaInfo shouldn't use the NcmContentMetaKey struct

liamadvance opened this issue · comments

commented

In ncm_types.h, it says:

Used by system updates. They share the exact same struct as NcmContentMetaKey

But in the SystemUpdate CNMT, the install_type is actually NcmContentMetaAttribute, which can be seen with the value having BIT1 set for BootImagePackageExFat and BootImagePackageSafeExFat (NcmContentMetaAttribute_IncludesExFatDriver)

https://github.com/switchbrew/libnx/blob/master/nx/include/switch/services/ncm_types.h#L76