summaryrefslogtreecommitdiffstats
path: root/src/hid_core/irsensor/image_transfer_processor.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2024-02-06 07:13:19 +0100
committergerman77 <juangerman-13@hotmail.com>2024-02-06 07:14:16 +0100
commit12b616285238361dd7fa51cb8b4c281c1dcaaeb4 (patch)
tree3faab4a6dc917f6c79cac73430e5ef0ca7a18ad0 /src/hid_core/irsensor/image_transfer_processor.h
parentMerge pull request #12905 from liamwhite/hwc-release (diff)
downloadyuzu-12b616285238361dd7fa51cb8b4c281c1dcaaeb4.tar
yuzu-12b616285238361dd7fa51cb8b4c281c1dcaaeb4.tar.gz
yuzu-12b616285238361dd7fa51cb8b4c281c1dcaaeb4.tar.bz2
yuzu-12b616285238361dd7fa51cb8b4c281c1dcaaeb4.tar.lz
yuzu-12b616285238361dd7fa51cb8b4c281c1dcaaeb4.tar.xz
yuzu-12b616285238361dd7fa51cb8b4c281c1dcaaeb4.tar.zst
yuzu-12b616285238361dd7fa51cb8b4c281c1dcaaeb4.zip
Diffstat (limited to 'src/hid_core/irsensor/image_transfer_processor.h')
-rw-r--r--src/hid_core/irsensor/image_transfer_processor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hid_core/irsensor/image_transfer_processor.h b/src/hid_core/irsensor/image_transfer_processor.h
index 4e0117084..df1c9d920 100644
--- a/src/hid_core/irsensor/image_transfer_processor.h
+++ b/src/hid_core/irsensor/image_transfer_processor.h
@@ -3,6 +3,8 @@
#pragma once
+#include <span>
+
#include "common/typed_address.h"
#include "hid_core/irsensor/irs_types.h"
#include "hid_core/irsensor/processor_base.h"
@@ -39,7 +41,7 @@ public:
// Transfer memory where the image data will be stored
void SetTransferMemoryAddress(Common::ProcessAddress t_mem);
- Core::IrSensor::ImageTransferProcessorState GetState(std::vector<u8>& data) const;
+ Core::IrSensor::ImageTransferProcessorState GetState(std::span<u8> data) const;
private:
// This is nn::irsensor::ImageTransferProcessorConfig