mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-25 03:32:01 +00:00
Ensures Oric video output starts up and changes validly.
This commit is contained in:
parent
f3818991f6
commit
f02d4dbb59
@ -373,6 +373,7 @@ class ConcreteMachine:
|
|||||||
|
|
||||||
video_output_.reset(new VideoOutput(ram_));
|
video_output_.reset(new VideoOutput(ram_));
|
||||||
if(!colour_rom_.empty()) video_output_->set_colour_rom(colour_rom_);
|
if(!colour_rom_.empty()) video_output_->set_colour_rom(colour_rom_);
|
||||||
|
set_output_device(Configurable::Display::RGB);
|
||||||
}
|
}
|
||||||
|
|
||||||
void close_output() override final {
|
void close_output() override final {
|
||||||
@ -447,7 +448,7 @@ class ConcreteMachine:
|
|||||||
|
|
||||||
Configurable::Display display;
|
Configurable::Display display;
|
||||||
if(Configurable::get_display(selections_by_option, display)) {
|
if(Configurable::get_display(selections_by_option, display)) {
|
||||||
get_crt()->set_output_device((display == Configurable::Display::RGB) ? Outputs::CRT::OutputDevice::Monitor : Outputs::CRT::OutputDevice::Television);
|
set_output_device((display == Configurable::Display::RGB) ? Outputs::CRT::OutputDevice::Monitor : Outputs::CRT::OutputDevice::Television);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user