1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-19 19:16:34 +00:00

Eliminate non-real-sample route.

This commit is contained in:
Thomas Harte
2026-02-27 14:41:26 -05:00
parent 73bb186585
commit a716ba6dcb
-6
View File
@@ -10,8 +10,6 @@
#include <algorithm>
#define SUPPLY_COMPOSITE
using namespace Oric;
namespace {
@@ -56,14 +54,10 @@ void VideoOutput::update_crt_frequency() {
void VideoOutput::set_display_type(Outputs::Display::DisplayType display_type) {
crt_.set_display_type(display_type);
#ifdef SUPPLY_COMPOSITE
const auto data_type =
(!has_colour_rom_ || display_type == Outputs::Display::DisplayType::RGB) ?
Outputs::Display::InputDataType::Red1Green1Blue1 :
Outputs::Display::InputDataType::PhaseLinkedLuminance8;
#else
const auto data_type = Outputs::Display::InputDataType::Red1Green1Blue1;
#endif
if(data_type_ != data_type) {
data_type_ = data_type;