mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-25 01:32:55 +00:00
Avoid flushes for video output changes.
This commit is contained in:
parent
f38cf91ea7
commit
1edf747f9f
@ -319,11 +319,11 @@ class ConcreteMachine:
|
|||||||
}
|
}
|
||||||
|
|
||||||
void set_display_type(Outputs::Display::DisplayType display_type) final {
|
void set_display_type(Outputs::Display::DisplayType display_type) final {
|
||||||
vdp_->set_display_type(display_type);
|
vdp_.last_valid()->set_display_type(display_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
Outputs::Display::DisplayType get_display_type() const final {
|
Outputs::Display::DisplayType get_display_type() const final {
|
||||||
return vdp_->get_display_type();
|
return vdp_.last_valid()->get_display_type();
|
||||||
}
|
}
|
||||||
|
|
||||||
Outputs::Speaker::Speaker *get_speaker() final {
|
Outputs::Speaker::Speaker *get_speaker() final {
|
||||||
|
Loading…
Reference in New Issue
Block a user