diff options
author | 2025-04-25 12:50:12 -0400 | |
---|---|---|
committer | 2025-04-26 02:50:12 +1000 | |
commit | 0855e13672a17e5601eb72491f8a013f044c20d3 (patch) | |
tree | 95e344618252c68379a81ed9a069b8ae37bf039b /src/lib/formats/apf_apt.cpp | |
parent | bbb45dfa649e7d5901ea26cd4b7b2d5e8f6f4aca (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/apf_apt.cpp')
-rw-r--r-- | src/lib/formats/apf_apt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/formats/apf_apt.cpp b/src/lib/formats/apf_apt.cpp index 0d9befb154b..9930d501652 100644 --- a/src/lib/formats/apf_apt.cpp +++ b/src/lib/formats/apf_apt.cpp @@ -152,12 +152,12 @@ static int apf_cpf_handle_cassette(int16_t *buffer, const uint8_t *bytes) Generate samples for the tape image ********************************************************************/ -static int apf_apt_fill_wave(int16_t *buffer, int length, const uint8_t *bytes) +static int apf_apt_fill_wave(int16_t *buffer, int length, const uint8_t *bytes, int) { return apf_apt_handle_cassette(buffer, bytes); } -static int apf_cpf_fill_wave(int16_t *buffer, int length, const uint8_t *bytes) +static int apf_cpf_fill_wave(int16_t *buffer, int length, const uint8_t *bytes, int) { return apf_cpf_handle_cassette(buffer, bytes); } |