summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/tzx_cas.cpp
diff options
context:
space:
mode:
author Roberto Fresca <robbie@robertofresca.com>2018-10-19 00:35:32 +0200
committer Roberto Fresca <robbie@robertofresca.com>2018-10-19 00:35:32 +0200
commitefe1757a858f03fff73e110626e85af8d2ed7d03 (patch)
tree5433f1344a7120f3d90f9480e79c65ca850b7564 /src/lib/formats/tzx_cas.cpp
parentcdb4ae2fab56a624bf8e2ea59f19a57f11ff1109 (diff)
parentf1b3e649fb0a50a6a01da667278b8a62fef99d92 (diff)
Merge branch 'master' of https://github.com/mamedev/mame
Diffstat (limited to 'src/lib/formats/tzx_cas.cpp')
-rw-r--r--src/lib/formats/tzx_cas.cpp6
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;