diff options
author | german77 <juangerman-13@hotmail.com> | 2022-06-19 23:27:48 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2022-07-24 02:40:25 +0200 |
commit | 097785e19e3865ac1060b9fae564a3a1e36c695d (patch) | |
tree | 2978bfd3fe724934e95fb73ff7dd17bbbe810551 /src/core/hid/irs_types.h | |
parent | service: irs: Split processors and implement ImageTransferProcessor (diff) | |
download | yuzu-097785e19e3865ac1060b9fae564a3a1e36c695d.tar yuzu-097785e19e3865ac1060b9fae564a3a1e36c695d.tar.gz yuzu-097785e19e3865ac1060b9fae564a3a1e36c695d.tar.bz2 yuzu-097785e19e3865ac1060b9fae564a3a1e36c695d.tar.lz yuzu-097785e19e3865ac1060b9fae564a3a1e36c695d.tar.xz yuzu-097785e19e3865ac1060b9fae564a3a1e36c695d.tar.zst yuzu-097785e19e3865ac1060b9fae564a3a1e36c695d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hid/irs_types.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/core/hid/irs_types.h b/src/core/hid/irs_types.h index c73d008a0..88c5b016d 100644 --- a/src/core/hid/irs_types.h +++ b/src/core/hid/irs_types.h @@ -201,11 +201,11 @@ struct PackedClusteringProcessorConfig { PackedMcuVersion required_mcu_version; u32 pixel_count_min; u32 pixel_count_max; - u32 object_intensity_min; + u8 object_intensity_min; bool is_external_light_filter_enabled; INSERT_PADDING_BYTES(2); }; -static_assert(sizeof(PackedClusteringProcessorConfig) == 0x30, +static_assert(sizeof(PackedClusteringProcessorConfig) == 0x28, "PackedClusteringProcessorConfig is an invalid size"); // This is nn::irsensor::PackedImageTransferProcessorConfig @@ -273,12 +273,9 @@ struct HandAnalysisConfig { }; static_assert(sizeof(HandAnalysisConfig) == 0x4, "HandAnalysisConfig is an invalid size"); -// This is nn::irsensor::detail::ProcessorState +// This is nn::irsensor::detail::ProcessorState contents are different for each processor struct ProcessorState { - u64 start{}; - u32 count{}; - INSERT_PADDING_BYTES(4); - std::array<u8, 0xE10> processor_raw_data{}; + std::array<u8, 0xE20> processor_raw_data{}; }; static_assert(sizeof(ProcessorState) == 0xE20, "ProcessorState is an invalid size"); |