1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-23 03:32:32 +00:00

Applies a will-do-for-now crop to video output.

This commit is contained in:
Thomas Harte 2020-11-10 18:50:23 -05:00
parent 20fd5adb24
commit 6ba517a4c1

View File

@ -51,6 +51,7 @@ VideoBase::VideoBase() :
VideoSwitches<Cycles>(true, Cycles(2), [this] (Cycles cycles) { advance(cycles); }),
crt_(CyclesPerLine - 1, 1, Outputs::Display::Type::NTSC60, Outputs::Display::InputDataType::Red4Green4Blue4) {
crt_.set_display_type(Outputs::Display::DisplayType::RGB);
crt_.set_visible_area(Outputs::Display::Rect(0.097f, 0.085f, 0.85f, 0.85f));
}
void VideoBase::set_scan_target(Outputs::Display::ScanTarget *scan_target) {