1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-28 21:49:27 +00:00

Avoid flushes for video output changes.

This commit is contained in:
Thomas Harte 2023-02-14 20:13:34 -05:00
parent f38cf91ea7
commit 1edf747f9f

View File

@ -319,11 +319,11 @@ class ConcreteMachine:
}
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 {
return vdp_->get_display_type();
return vdp_.last_valid()->get_display_type();
}
Outputs::Speaker::Speaker *get_speaker() final {