mirror of
https://github.com/TomHarte/CLK.git
synced 2026-01-23 01:16:10 +00:00
Treat lack of a serialiser as at-end.
This commit is contained in:
@@ -94,7 +94,7 @@ void TapePlayer::set_tape(std::shared_ptr<Storage::Tape::Tape> tape, TargetPlatf
|
||||
}
|
||||
|
||||
bool TapePlayer::is_at_end() const {
|
||||
return serialiser_->is_at_end();
|
||||
return !serialiser_ || serialiser_->is_at_end();
|
||||
}
|
||||
|
||||
TapeSerialiser *TapePlayer::serialiser() {
|
||||
|
||||
Reference in New Issue
Block a user