1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-10-01 13:58:20 +00:00

Ensured tape-formatted PRGs reach a conclusion.

This commit is contained in:
Thomas Harte 2016-09-29 19:12:26 -04:00
parent 6c449e7936
commit 4010f36238

View File

@ -168,7 +168,7 @@ void PRG::get_next_output_token()
case FilePhaseData:
_copy_mask ^= 0x80;
fseek(_file, 2, SEEK_SET);
if(_copy_mask) reset();
if(_copy_mask) _filePhase = FilePhaseAtEnd;
break;
}
return;