1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-23 20:29:42 +00:00

Accept a pulse that begins exactly on seek_time as being found while seeking.

This commit is contained in:
Thomas Harte 2017-07-06 22:31:45 -04:00
parent a53011f778
commit 84d0e9b4cd

View File

@ -22,7 +22,7 @@ TapePlayer::TapePlayer(unsigned int input_clock_rate) :
void Storage::Tape::Tape::seek(Time &seek_time) {
current_time_.set_zero();
next_time_.set_zero();
while(next_time_ < seek_time) get_next_pulse();
while(next_time_ <= seek_time) get_next_pulse();
}
void Storage::Tape::Tape::reset() {