diff options
author | 2018-09-23 12:22:35 +1000 | |
---|---|---|
committer | 2018-09-23 12:22:35 +1000 | |
commit | 250c06a4d716d63fa1691bb8d0514b426dccbbc5 (patch) | |
tree | 99259dfcff73d107f9c398c8f385610b47899247 /src/lib/formats/tzx_cas.cpp | |
parent | cb6194cac0f2a4009deb49e629ba946af8267de9 (diff) |
srcclean (nw)
Diffstat (limited to 'src/lib/formats/tzx_cas.cpp')
-rw-r--r-- | src/lib/formats/tzx_cas.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/formats/tzx_cas.cpp b/src/lib/formats/tzx_cas.cpp index fe12640e773..ddfe21b81dc 100644 --- a/src/lib/formats/tzx_cas.cpp +++ b/src/lib/formats/tzx_cas.cpp @@ -286,11 +286,11 @@ static int tzx_cas_handle_block( int16_t **buffer, const uint8_t *bytes, int pau tzx_output_wave(buffer, start_pause_samples); size += start_pause_samples; - + if (pause > 0) - { + { int rest_pause_samples = millisec_to_samplecount(pause - 1); - + wave_data = WAVE_LOW; tzx_output_wave(buffer, rest_pause_samples); size += rest_pause_samples; |