summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/irsensor/image_transfer_processor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/hid/irsensor/image_transfer_processor.cpp')
-rw-r--r--src/core/hle/service/hid/irsensor/image_transfer_processor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/irsensor/image_transfer_processor.cpp b/src/core/hle/service/hid/irsensor/image_transfer_processor.cpp
index 803a6277c..22067a591 100644
--- a/src/core/hle/service/hid/irsensor/image_transfer_processor.cpp
+++ b/src/core/hle/service/hid/irsensor/image_transfer_processor.cpp
@@ -49,7 +49,7 @@ void ImageTransferProcessor::OnControllerUpdate(Core::HID::ControllerTriggerType
return;
}
- const auto camera_data = npad_device->GetCamera();
+ const auto& camera_data = npad_device->GetCamera();
// This indicates how much ambient light is present
processor_state.ambient_noise_level = Core::IrSensor::CameraAmbientNoiseLevel::Low;