summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/vt_cas.cpp
diff options
context:
space:
mode:
author holub <andrei.holub@gmail.com>2025-04-25 12:50:12 -0400
committer GitHub <noreply@github.com>2025-04-26 02:50:12 +1000
commit0855e13672a17e5601eb72491f8a013f044c20d3 (patch)
tree95e344618252c68379a81ed9a069b8ae37bf039b /src/lib/formats/vt_cas.cpp
parentbbb45dfa649e7d5901ea26cd4b7b2d5e8f6f4aca (diff)
formats/cassimg.cpp: Pass byte count to wave fill function for legacy cassette formats. (#13294)
formats/tzx_cass.cpp: Check length of data read for TAP format blocks (fixes MT08952).
Diffstat (limited to 'src/lib/formats/vt_cas.cpp')
-rw-r--r--src/lib/formats/vt_cas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/formats/vt_cas.cpp b/src/lib/formats/vt_cas.cpp
index 74a0bbada1e..2052647bfd8 100644
--- a/src/lib/formats/vt_cas.cpp
+++ b/src/lib/formats/vt_cas.cpp
@@ -90,7 +90,7 @@ static int16_t *vtech1_fill_wave_byte(int16_t *buffer, int byte)
return buffer;
}
-static int vtech1_cassette_fill_wave(int16_t *buffer, int length, const uint8_t *code)
+static int vtech1_cassette_fill_wave(int16_t *buffer, int length, const uint8_t *code, int)
{
return generic_fill_wave(buffer, length, code, V1_BITSAMPLES, V1_BYTESAMPLES, V1_LO, vtech1_fill_wave_byte);
}
@@ -185,7 +185,7 @@ static int16_t *vtech2_fill_wave_byte(int16_t *buffer, int byte)
return buffer;
}
-static int vtech2_cassette_fill_wave(int16_t *buffer, int length, const uint8_t *code)
+static int vtech2_cassette_fill_wave(int16_t *buffer, int length, const uint8_t *code, int)
{
return generic_fill_wave(buffer, length, code, VT2_BITSAMPLES, VT2_BYTESAMPLES, VT2_LO, vtech2_fill_wave_byte);
}