mirror of
https://github.com/TomHarte/CLK.git
synced 2024-10-04 01:57:54 +00:00
Ensured final byte plays out.
This commit is contained in:
parent
d8b76e31c3
commit
ee4c8b5ad2
@ -52,7 +52,7 @@ Tape::Pulse ZX80O::virtual_get_next_pulse() {
|
|||||||
Tape::Pulse pulse;
|
Tape::Pulse pulse;
|
||||||
|
|
||||||
// Start with 1 second of silence.
|
// Start with 1 second of silence.
|
||||||
if(!is_past_silence_ || is_at_end()) {
|
if(!is_past_silence_ || (is_at_end() && !wave_pointer_)) {
|
||||||
pulse.type = Pulse::Type::Low;
|
pulse.type = Pulse::Type::Low;
|
||||||
pulse.length.length = 5;
|
pulse.length.length = 5;
|
||||||
pulse.length.clock_rate = 1;
|
pulse.length.clock_rate = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user