1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-29 12:50:28 +00:00

First successful game loaded! It turns out exactly one '$' is correct. Probably.

This commit is contained in:
Thomas Harte 2016-10-15 21:49:41 -04:00
parent a67afb7efa
commit fae1bb0db9

View File

@ -65,7 +65,7 @@ Tape::Pulse OricTAP::virtual_get_next_pulse()
switch(_phase) switch(_phase)
{ {
case LeadIn: case LeadIn:
next_byte = _phase_counter < 256 ? 0x16 : 0x24; next_byte = _phase_counter < 258 ? 0x16 : 0x24;
_phase_counter++; _phase_counter++;
if(_phase_counter == 259) // 256 artificial bytes plus the three in the file = 259 if(_phase_counter == 259) // 256 artificial bytes plus the three in the file = 259
{ {