Normalise last_valid to get.
This commit is contained in:
1 parent
5dd4f59d98
commit
afdd20022d
10 files changed
+67
-67
No files matched your search
@@ -185,7 +185,7 @@ public:
|
||||
}
|
||||
|
||||
void set_scan_target(Outputs::Display::ScanTarget *scan_target) final {
|
||||
vdp_.last_valid()->set_tv_standard(
|
||||
vdp_.get()->set_tv_standard(
|
||||
(region_ == Target::Region::Europe) ?
|
||||
TI::TMS::TVStandard::PAL : TI::TMS::TVStandard::NTSC);
|
||||
|
||||
@@ -193,19 +193,19 @@ public:
|
||||
// especially thread-safe and won't make a substantial difference.
|
||||
// time_until_debounce_ = vdp_->get_time_until_line(-1);
|
||||
|
||||
vdp_.last_valid()->set_scan_target(scan_target);
|
||||
vdp_.get()->set_scan_target(scan_target);
|
||||
}
|
||||
|
||||
Outputs::Display::ScanStatus get_scaled_scan_status() const final {
|
||||
return vdp_.last_valid()->get_scaled_scan_status();
|
||||
return vdp_.get()->get_scaled_scan_status();
|
||||
}
|
||||
|
||||
void set_display_type(Outputs::Display::DisplayType display_type) final {
|
||||
vdp_.last_valid()->set_display_type(display_type);
|
||||
vdp_.get()->set_display_type(display_type);
|
||||
}
|
||||
|
||||
Outputs::Display::DisplayType get_display_type() const final {
|
||||
return vdp_.last_valid()->get_display_type();
|
||||
return vdp_.get()->get_display_type();
|
||||
}
|
||||
|
||||
Outputs::Speaker::Speaker *get_speaker() final {
|
||||
@@ -279,7 +279,7 @@ public:
|
||||
*cycle.value = vdp_->get_current_line();
|
||||
break;
|
||||
case 0x41:
|
||||
*cycle.value = vdp_.last_valid()->get_latched_horizontal_counter();
|
||||
*cycle.value = vdp_.get()->get_latched_horizontal_counter();
|
||||
break;
|
||||
case 0x80: case 0x81:
|
||||
*cycle.value = vdp_->read(address);
|
||||
|
||||
Reference in new issue
Block a user