1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-24 12:30:17 +00:00

Made minor fix to ensure that a header that appears to extend beyond the end of an Oric .TAP doesn't create an ostensibly endless tape.

This commit is contained in:
Thomas Harte 2016-11-15 12:02:03 +08:00
parent 8b40ae03ca
commit 97811fe590

View File

@ -97,6 +97,10 @@ Tape::Pulse OricTAP::virtual_get_next_pulse()
{ {
_next_phase = Gap; _next_phase = Gap;
} }
if(feof(_file))
{
_next_phase = End;
}
_phase_counter++; _phase_counter++;
break; break;