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/kim1_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/kim1_cas.cpp')
-rw-r--r-- | src/lib/formats/kim1_cas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/kim1_cas.cpp b/src/lib/formats/kim1_cas.cpp index 933e8cc3818..56e91f0936d 100644 --- a/src/lib/formats/kim1_cas.cpp +++ b/src/lib/formats/kim1_cas.cpp @@ -145,7 +145,7 @@ static int kim1_handle_kim(int16_t *buffer, const uint8_t *casdata) /******************************************************************* Generate samples for the tape image ********************************************************************/ -static int kim1_kim_fill_wave(int16_t *buffer, int sample_count, uint8_t *bytes) +static int kim1_kim_fill_wave(int16_t *buffer, int sample_count, const uint8_t *bytes) { return kim1_handle_kim( buffer, bytes ); } |