mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-25 11:17:26 +00:00
Flips meaning of ejected bit, to please the IIgs.
This commit is contained in:
@@ -58,12 +58,13 @@ void Drive::set_disk(const std::shared_ptr<Disk> &disk) {
|
||||
if(ready_type_ == ReadyType::ShugartModifiedRDY || ready_type_ == ReadyType::IBMRDY) {
|
||||
is_ready_ = false;
|
||||
}
|
||||
const bool had_disk = bool(disk_);
|
||||
if(disk_) disk_->flush_tracks();
|
||||
disk_ = disk;
|
||||
has_disk_ = !!disk_;
|
||||
|
||||
invalidate_track();
|
||||
did_set_disk();
|
||||
did_set_disk(had_disk);
|
||||
update_clocking_observer();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user