diff options
author | 2025-01-27 15:38:48 -0500 | |
---|---|---|
committer | 2025-01-27 15:38:48 -0500 | |
commit | cdb94c2be58ccbc427871890017e2213ee634079 (patch) | |
tree | c011024ee4c800db05901aeb99d8e20b43fa1f88 /src/lib/formats/primoptp.cpp | |
parent | 4b3183447b8d1e636dfce950f612e3e07f8071fa (diff) |
formats/tzx_cas.cpp: Cut data size in case header requesting more than available (MT8952) (#13289)
Diffstat (limited to 'src/lib/formats/primoptp.cpp')
-rw-r--r-- | src/lib/formats/primoptp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/primoptp.cpp b/src/lib/formats/primoptp.cpp index ccadcb6d70d..4392b35884b 100644 --- a/src/lib/formats/primoptp.cpp +++ b/src/lib/formats/primoptp.cpp @@ -138,7 +138,7 @@ static int primo_cassette_calculate_size_in_samples(const uint8_t *bytes, int le return size_in_samples; } -static int primo_cassette_fill_wave(int16_t *buffer, int length, uint8_t *bytes) +static int primo_cassette_fill_wave(int16_t *buffer, int length, const uint8_t *bytes) { int i = 0, j = 0, k; |