Create an APT_AppletAttr bitfield from its components.
| 49 | |
| 50 | /// Create an APT_AppletAttr bitfield from its components. |
| 51 | static inline APT_AppletAttr aptMakeAppletAttr(APT_AppletPos pos, bool manualGpuRights, bool manualDspRights) |
| 52 | { |
| 53 | return (pos&7) | (manualGpuRights ? BIT(3) : 0) | (manualDspRights ? BIT(4) : 0); |
| 54 | } |
| 55 | |
| 56 | /// APT query reply. |
| 57 | typedef enum { |