summaryrefslogtreecommitdiffstats
path: root/src/audio_core/renderer/effect/i3dl2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio_core/renderer/effect/i3dl2.h')
-rw-r--r--src/audio_core/renderer/effect/i3dl2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audio_core/renderer/effect/i3dl2.h b/src/audio_core/renderer/effect/i3dl2.h
index 1ebbc5c4c..6e3ffd1d4 100644
--- a/src/audio_core/renderer/effect/i3dl2.h
+++ b/src/audio_core/renderer/effect/i3dl2.h
@@ -104,7 +104,8 @@ public:
}
void Write(const Common::FixedPoint<50, 14> sample) {
- *(input++) = sample;
+ *input = sample;
+ input++;
if (input >= buffer_end) {
input = buffer.data();
}