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/x07_cas.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/x07_cas.cpp')
-rw-r--r-- | src/lib/formats/x07_cas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/x07_cas.cpp b/src/lib/formats/x07_cas.cpp index 71e8b304efc..16c837a43ea 100644 --- a/src/lib/formats/x07_cas.cpp +++ b/src/lib/formats/x07_cas.cpp @@ -122,7 +122,7 @@ static int x07_handle_cassette(int16_t *buffer, const uint8_t *bytes) Generate samples for the tape image ********************************************************************/ -static int x07_cassette_fill_wave(int16_t *buffer, int length, uint8_t *bytes) +static int x07_cassette_fill_wave(int16_t *buffer, int length, const uint8_t *bytes) { return x07_handle_cassette(buffer, bytes); } |