summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/sol_cas.cpp
diff options
context:
space:
mode:
author holub <andrei.holub@gmail.com>2025-01-27 15:38:48 -0500
committer GitHub <noreply@github.com>2025-01-27 15:38:48 -0500
commitcdb94c2be58ccbc427871890017e2213ee634079 (patch)
treec011024ee4c800db05901aeb99d8e20b43fa1f88 /src/lib/formats/sol_cas.cpp
parent4b3183447b8d1e636dfce950f612e3e07f8071fa (diff)
formats/tzx_cas.cpp: Cut data size in case header requesting more than available (MT8952) (#13289)
Diffstat (limited to 'src/lib/formats/sol_cas.cpp')
-rw-r--r--src/lib/formats/sol_cas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/sol_cas.cpp b/src/lib/formats/sol_cas.cpp
index 8c05a756042..a6041bbc439 100644
--- a/src/lib/formats/sol_cas.cpp
+++ b/src/lib/formats/sol_cas.cpp
@@ -335,7 +335,7 @@ static int sol20_handle_cassette(int16_t *buffer, const uint8_t *bytes)
Generate samples for the tape image
********************************************************************/
-static int sol20_cassette_fill_wave(int16_t *buffer, int length, uint8_t *bytes)
+static int sol20_cassette_fill_wave(int16_t *buffer, int length, const uint8_t *bytes)
{
return sol20_handle_cassette(buffer, bytes);
}